I've a Windows 2003 Domain with DFS shares. I've successfully managed to access these shares from Ubuntu with the following fstab line:
//domain.local/foo /mnt/foo cifs auto,user,sec=ntlmv2,credentials=/home/bar/bar.creds.txt,uid=bar,gid=bar,file_mode=0775,dir_mode=0775,nouser_xattr,iocharset=utf8
In the share "foo" are several directories, where user "bar" does not have permission for. If I change permissions (to allow list,read,write) for such a directory, this is somehow not recognized by Ubuntu. User "bar" is not able to use this directory. I can "cd" into that directory, but get no content displayed when using "ls". Writing a file results in a "permission denied".
Even unmount and mount again does not fix this.
The only way I found was, to restart Ubuntu. Then I can access the directory, list contents and read/write files.
Can anyone please give me a hint, how to manage this without rebooting?
Thanks in advance.