Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am sharing a directory on one Red Hat machine via samba, and mounting it on another Red Hat machine with the following command:

mount -t cifs -o guest <remotepath> <localpath>

The smb.conf file on the host is set up to allow the guest user to write and create files. However, the root user can freely create files in the mounted share, and but when other users attempt to create a file, they get a "Permission denied" error. What's the story? Any suggestions would be appreciated.

share|improve this question
Did you check the posix acl of the folder? (selinux too if enabled) – llua May 5 '13 at 3:44
Thanks, good question. The ACL appears to be set correctly, and SELinux is disabled. – Geoff May 6 '13 at 14:41
And what are the current posix permissions of the directory? – llua May 6 '13 at 16:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.