[CentOS] Why?? NFS cached permissions groups etc

Jason Pyeron jpyeron at pdinc.us
Sun May 5 07:42:19 UTC 2013


> -----Original Message-----
> From: Jason Pyeron
> Sent: Sunday, May 05, 2013 3:36
> 
> An hour of my life disapeared and my beautiful uptime was 
> rebooted and it was
> fixed by reading
>
http://serverfault.com/questions/98900/is-a-reboot-required-to-refresh-permissio
ns-after-adding-a-user-to-a-new-group
> 
> #/home is mounted from a NFS export
> [jpyeron at node000 ~]$ cat /tmp/jobs/foo.txt ~jobs/test.txt 
> ~jobs/userstest.txt
> afasdasd
> 
> cat: /home/jobs/test.txt: Permission denied
> Sun May  5 03:20:36 EDT 2013
> 
> 
> #### why does this fix the issue?
> [jpyeron at node000 ~]$ newgrp jobs
> 

Hmmm, logging out and then back in the problem comes back again. I cannot reboot
the NFS server but I think that would fix it.

[jpyeron at node000 ~]$ stat /tmp/jobs/foo.txt ~jobs/test.txt ~jobs/userstest.txt
  File: `/tmp/jobs/foo.txt'
  Size: 10              Blocks: 8          IO Block: 4096   regular file
Device: fd01h/64769d    Inode: 139769      Links: 1
Access: (0660/-rw-rw----)  Uid: (56736/    jobs)   Gid: (56736/    jobs)
Access: 2013-05-05 02:56:55.480608527 -0400
Modify: 2013-05-05 02:56:35.487608647 -0400
Change: 2013-05-05 02:56:44.924607727 -0400
  File: `/home/jobs/test.txt'
  Size: 29              Blocks: 16         IO Block: 1048576 regular file
Device: 13h/19d Inode: 13058227    Links: 1
Access: (0660/-rw-rw----)  Uid: (56736/    jobs)   Gid: (56736/    jobs)
Access: 2013-05-05 02:27:17.000000000 -0400
Modify: 2013-05-05 02:27:17.000000000 -0400
Change: 2013-05-05 02:57:25.000000000 -0400
  File: `/home/jobs/userstest.txt'
  Size: 29              Blocks: 16         IO Block: 1048576 regular file
Device: 13h/19d Inode: 13058228    Links: 1
Access: (0660/-rw-rw----)  Uid: (56736/    jobs)   Gid: (  100/   users)
Access: 2013-05-05 03:20:36.000000000 -0400
Modify: 2013-05-05 03:20:36.000000000 -0400
Change: 2013-05-05 03:21:11.000000000 -0400
[jpyeron at node000 ~]$


> 
> 
> 
> [jpyeron at node000 ~]$ cat /tmp/jobs/foo.txt ~jobs/test.txt 
> ~jobs/userstest.txt
> afasdasd
> 
> Sun May  5 02:27:17 EDT 2013
> Sun May  5 03:20:36 EDT 2013
> [jpyeron at node000 ~]$
> 
> 
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.




More information about the CentOS mailing list