ewhac
Contributor
- Joined
- Aug 20, 2013
- Messages
- 177
I don't know exactly when this started, but my FreeNAS CIFS server is now showing all files with useless DOS permissions (rwxr-xr-x).
I think the problem is on the Linux side with the
This succeeds, and the contents of /mnt is visible, but the `mount` command with no argument yields this entry:
Obviously the
I think the problem is on the Linux side with the
mount.cifs
command. Something is injecting a bunch of unwanted garbage into the mount options. I try to mount the server like so (actually, I use the autofs mounter, but the result is the same):Code:
sudo mount.cifs -o username=ewhac,uid=ewhac,gid=ewhac //theserver/ewhac /mnt
This succeeds, and the contents of /mnt is visible, but the `mount` command with no argument yields this entry:
Code:
//theserver/ewhac on /mnt type cifs (rw,relatime,vers=3.0,cache=strict,username=ewhac,domain=,uid=1000,forceuid,gid=1000,forcegid,addr=10.0.0.4,file_mode=0755,dir_mode=0755,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1)
Obviously the
nounix
option has no business being there and, along with the file_mode
and dir_mode
options, is forcing the DOS permissions. Can anyone offer any suggestions where these unspecified options are coming from, and how I can bludgeon it back into submission? Is there possibly some server option I've set on the FreeNAS side that's causing mount.cifs
to assume the server can't handle UNIX extensions?