Take the 2-minute tour ×

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


Your Answer



Browse other questions tagged or ask your own question.