I have a CIFS mount that's being mounted in fstab and looks like this:

// /home/pi/sambashare cifs credentials=/.credentials/.smbcredentials,rw,iocharset=utf8,nounix,file_mode=0777,dir_mode=0777 0 0

It works fine, with the exception that all of the folder permissions have the sticky bit on. I run a few programs as different users, so need to be able to have rw access to all the folders as different users, but the sticky bit is preventing me from making changes as the other users.

Have tried mounting with GID and UID also, but:

  1. User is always libuuid and group is always 1002 regardless of what GID and UID says
  2. I have different users that need access.

Any idea how to resolve this?

  • are you sure it is an "s" (=sticky bit) and not an "S" (sgid bit=mandatory locking)? ;-) – Rinzwind Jan 31 '15 at 15:20

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.