Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

We have an Ubuntu 12.04 Server machine and a Windows Server 2008 machine, and regularly mount shares from the WS08 machine's NTFS filesystem on the Ubuntu machine. Mounting works fine, but for some reason the permissions are never right. I've tried tons of permutations of the relevant stanza in /etc/fstab but nothing seems to work. Here's what it currently looks like:

//[hostname]/[windowsshare] /media/[windowsshare] cifs iocharset=utf8,credentials=[location],rw,uid=[userX],gid=[groupY],file_mode=0775,dir_mode=0775 0 0

Despite having used credentials for an account with r/w permissions on the Windows share, and all our users who write to that share being part of groupY, AND having both file_mode and dir_mode set to 0775, the filesystem never mounts this share as with anything but 755 permissions. Why won't CIFS let us write to the share?

Thanks for your help!

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

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.