I don't quite understand how fstab works but I'm having permission issues with a Windows Samba share that I am trying to mount.

normally I mount it using the following

mount -t cifs -o username=myname,password=12345 // /share/smb

I prefer to use the manual mount instead of auto mounting but I was wondering if it is possible to create an fstab entry to allow 777 permissions on this mounted directory

// /share/smb cifs username=YOURUSERNAME,password=YOURPASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777
  • 2
    A bit of explanation is in order. Nov 11 '16 at 10:23
  • Will this not automatically mount it on boot? Nov 11 '16 at 13:59
  • I forgot. You want to mount it manual. So noauto is required to. And look the permissions of the Mountpoint too.
    – user192526
    Nov 11 '16 at 14:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.