[arch-general] permissions mismatch error while upgrading the system
Hi! I got this: ( 7/11) upgrading nfs-utils [----------------------------------------------] 100% warning: directory permissions differ on var/lib/nfs/rpc_pipefs/ filesystem: 555 package: 755 It's safe to just chmod the /var/lib/nfs/prc_pipefs directory to 755 by hand? Thank you!
[2012-10-17 15:42:56 -0300] Martín Cigorraga:
warning: directory permissions differ on var/lib/nfs/rpc_pipefs/ filesystem: 555 package: 755
The difference between 555 and 755 is write permission for the owner... So it should be completely harmless to chmod that directory to 755. -- Gaetan
On Thu, Oct 18, 2012 at 12:46:36PM +1100, Gaetan Bisson wrote:
[2012-10-17 15:42:56 -0300] Martín Cigorraga:
warning: directory permissions differ on var/lib/nfs/rpc_pipefs/ filesystem: 555 package: 755
The difference between 555 and 755 is write permission for the owner... So it should be completely harmless to chmod that directory to 755.
-- Gaetan
Pretty sure the idea here is that the permissions in userland reflect what the kernel presents us with for "permissions" on the filesystem. No user will be able to write to rpc_pipefs, so the filesystem itself is 555. We should change this in the nfs-utils package so that its installed as 555. If you recall, the same thing happened with /sys being mounted as 555 as of kernel 3.4: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=c56d... d
Am 17.10.2012 20:42, schrieb Martín Cigorraga:
Hi! I got this:
( 7/11) upgrading nfs-utils [----------------------------------------------] 100% warning: directory permissions differ on var/lib/nfs/rpc_pipefs/ filesystem: 555 package: 755
It's safe to just chmod the /var/lib/nfs/prc_pipefs directory to 755 by hand? Thank you!
rpc_pipefs is a mount point of a virtual file system: $ findmnt /var/lib/nfs/rpc_pipefs/ TARGET SOURCE FSTYPE OPTIONS /var/lib/nfs/rpc_pipefs rpc_pipefs rpc_pipefs rw,relatime The kernel sets the permissions of the mount point the right way. Don't touch it.
Thank you very much! I will be informing some friends who asked the same to me :)
participants (4)
-
Dave Reisner
-
Gaetan Bisson
-
Martín Cigorraga
-
Thomas Bächler