Public bug reported:

sub-directories initially only accessible by root

Client: (K)Ubuntu 16.04 LTS - new install (not upgrade) fully up-to-date
Server: Ubuntu 14.04 LTS - fully up-to-date
Client Package: nfs-common 1:1.2.8-9ubuntu12

No access issues using Kubuntu 15.04 client in the past or currently.
Server configuration unchanged.

Attempting to access all subfolders of NFS mount fails for user. Primary
folder is listable, subfolders are not, files in first level folder are
accessable. If a subfolder is accessed by root user, it (and all nested
subfolders and files) becomes accessible by users. After an unknown
amount of time, subfolders revert back to inaccessible by user unless
subfolder is kept "active" - like having it open in Dolphin. Permissions
appear correct.

:~$ ll /shared
total 148
drwxrwsr-x 1 nobody shared    274 Jul 18 14:03 ./
drwxr-xr-x 1 root   root      262 Jul 16 12:41 ../
drwxrwsr-x 1 nobody shared    120 Jul  6 11:49 Audio/
drwxrwsr-x 1 nobody shared     18 Jul  6 11:49 Backups/
-rw------- 1 nobody shared     35 Jul  7 13:42 .directory
drwxrwsr-x 1 nobody shared    612 Jul  8 09:12 Documents/

~$ ll /shared/Audio/
ls: cannot access '/shared/Audio/': Operation not permitted

~$ sudo ls /shared/Audio/
[sudo] password: 
Audio Books  Comedy  Holiday  Ringtones

:~$ ll /shared/Audio/
total 0
drwxrwsr-x 1 nobody shared  120 Jul  6 11:49 ./
drwxrwsr-x 1 nobody shared  274 Jul 18 14:03 ../
drwxrwsr-x 1 nobody shared  390 Jun 12  2011 Audio Books/
drwxrwsr-x 1 nobody shared 4882 May 22 14:49 Comedy/
drwxrwsr-x 1 nobody shared  166 Nov 22  2013 Holiday/
drwxrwsr-x 1 nobody shared 1290 Jul  7  2015 Ringtones/

fstab same for both client versions (15.04, 16.04):
server:/ /shared nfs4 
auto,bg,soft,users,rsize=65536,wsize=65536,noatime,x-systemd.automount 0 0
server:/ /shared nfs4 
auto,bg,soft,users,rsize=65536,wsize=65536,noatime,x-systemd.automount 0 0

export line from server:
/exports 
192.168.1.0/24(rw,fsid=0,crossmnt,no_subtree_check,async,secure,nohide,all_squash,anonuid=65534,anongid=560)

client-side user groups: adm cdrom sudo dip backup plugdev users lpadmin
sambashare wireshark shared

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1605230

Title:
  sub-directories initially only accessible by root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1605230/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to