I would like to access and copy some files to an SMB share. These commands work with sudo, no username/password is needed:
mount.cifs //192.168.1.1/share ~/share/ -o rw cp *pdf share/ umount share/
Is there a way to do this as non-root user?
Either you add a mount option
or you write a textfile
with the content:
After that type
Now try mounting: