Permissions for root user

2015-03-25 Thread Christoph Pleger
Hello, how about permissions for the root user in an aufs filesystem? Should they not be the same like on a local filesystem or an NFS filesystem with no_root_squash set? I am using aufs over NFS to get a writable NFSROOT filesystem, and as root, I cannot create a file in a directory which is not

Re: Permissions for root user

2015-03-25 Thread sfjro
Hello Christoph, "Christoph Pleger": > how about permissions for the root user in an aufs filesystem? Should they > not be the same like on a local filesystem or an NFS filesystem with > no_root_squash set? I am using aufs over NFS to get a writable NFSROOT > filesystem, and as root, I cannot cre

Re: Permissions for root user

2015-03-25 Thread Yair Yarom
Hello, I think we encountered a similar issue, in our case with the /var/log/* directories (and sometimes /var/cache/man). I don't think it's a real permission issue as we get "Operation not supported" and not "Permission denied". I noticed that it happens if the rw branch doesn't contain the di

Re: Permissions for root user

2015-03-25 Thread sfjro
"Christoph Pleger": > I am exporting as readonly from the NFS server and I am using aufs on the > client to make files and directories writable there. To achieve this, I > changed/added some things in the initrd nfs script: Instead of mounting > the NFS filesystem to /root, the script mounts it to

Re: Permissions for root user

2015-03-25 Thread Christoph Pleger
Hello, > The "mounts" attachment is empty. A strange behaviour I did not know about before: scp root@nfs_client:/proc/mounts indeed reproducably creates an empty file on my workstation. First creating a local copy and then scp-ing it worked, I attached the result. > But I can guess your /roroot

Re: Permissions for root user

2015-03-25 Thread sfjro
"Christoph Pleger": > What I do not understand here, is why the NFS server does not allow the > operation, though it does if the directory is exported read-write (I > tested that). Exported with rw,no_root_squash? And root user on NFS client could not create a file? Hmm, that is strange. I will c