Gentoo Archives: gentoo-user

From: Ralph Seichter <gentoo-user@××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Subdirectories on NFS server missing 'executable' permission
Date: Sat, 26 Jan 2013 16:14:00
Message-Id: 510400BB.5090407@seichter.de
1 Hi list members,
2
3 I set up Gentoo as an NFS server, and I am experiencing problems with
4 one of my NFS clients. When this specific client creates new directories
5 within the NFS-exported directory, the permissions are 0644 instead of
6 0755 ('executable' is missing). The client does not allow passing any
7 arguments when mounting a remote directory, so I wonder if this can be
8 fixed on the server side? My exports configuration looks like this:
9
10 # /etc/exports
11 /mnt/foo 192.168.235.0/24(rw,async,all_squash,no_subtree_check,anonuid=1003,anongid=1003,insecure)
12 /mnt/bar 192.168.235.0/24(rw,sync,no_root_squash,no_subtree_check,anonuid=1003,anongid=1003,insecure)
13
14 Both /mnt/foo and /mnt/bar were created like this:
15
16 mkdir /mnt/foo && chown root:root /mnt/foo && chmod 1777 /mnt/foo
17
18 It does not matter whether the client creates a new directory in /mnt/foo
19 or /mnt/bar, the executable bit is always missing.
20
21 Your ideas are appreciated. Thanks!
22
23 -Ralph

Replies

Subject Author
Re: [gentoo-user] Subdirectories on NFS server missing 'executable' permission Alan McKinnon <alan.mckinnon@×××××.com>