Re: Why?? NFS cached permissions groups etc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> -----Original Message-----
> From: Jason Pyeron
> Sent: Sunday, May 05, 2013 3:42
> 
> > -----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@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

Reading https://bugs.launchpad.net/ubuntu/+source/linux/+bug/409366 told I might
have been in too many groups, trimming the list down worked.

Wish I read https://xkyle.com/solving-the-nfs-16-group-limit-problem/ first.

> > 
> > 
> > #### why does this fix the issue?
> > [jpyeron@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@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@node000 ~]$
> 
> 
> > 
> > 
> > 
> > [jpyeron@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@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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux