On Sat, 26 Jan 2013 17:13:47 +0100
Ralph Seichter <[email protected]> wrote:

> Hi list members,
> 
> I set up Gentoo as an NFS server, and I am experiencing problems with
> one of my NFS clients. When this specific client creates new
> directories within the NFS-exported directory, the permissions are
> 0644 instead of 0755 ('executable' is missing). The client does not
> allow passing any arguments when mounting a remote directory, so I
> wonder if this can be fixed on the server side? My exports
> configuration looks like this:
> 
> # /etc/exports
> /mnt/foo
> 192.168.235.0/24(rw,async,all_squash,no_subtree_check,anonuid=1003,anongid=1003,insecure)
>  /mnt/bar
> 192.168.235.0/24(rw,sync,no_root_squash,no_subtree_check,anonuid=1003,anongid=1003,insecure)
> 
> Both /mnt/foo and /mnt/bar were created like this:
> 
> mkdir /mnt/foo && chown root:root /mnt/foo && chmod 1777 /mnt/foo
> 
> It does not matter whether the client creates a new directory
> in /mnt/foo or /mnt/bar, the executable bit is always missing.
> 
> Your ideas are appreciated. Thanks!

What sort of client is this, and what umask is it using?

That's regular shell umask, not some fancy thing related to fs mounts.


-- 
Alan McKinnon
[email protected]


Reply via email to