Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recent world update, home permission denied
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chuck_theobald
n00b
n00b


Joined: 08 Apr 2005
Posts: 36

PostPosted: Thu Jan 15, 2009 6:43 pm    Post subject: Recent world update, home permission denied Reply with quote

I have been doing updates (emerge -uD world) on my 32-bit machines recently, with a sync date of January 11. Apparently, the nfs-utils update causes a permission denied message to users' home directories upon logging in to a shell. The home directories are on a file server shared via NFS and mounted via autofs. The file server runs RHEL 5.0 with nfs-utils version 1.0.9. Autofs is working in that the volume is mounted on the client machine, but the user cannot change to their home directory. Oddly, the update does work as expected on my 64-bit machines.

I cannot find any record of this error in the logs of the server or client.

Rolling back from version 1.1.3 to 1.1.0-r1 fixes the problem. Other versions are masked by ~x86:
1.1.1
1.1.1-r1
1.1.2
1.1.2-r1

Any ideas what causes this and when it may be fixed? The ChangeLog for nfs-utils does not indicate anything obvious towards a solution.
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Thu Jan 15, 2009 7:09 pm    Post subject: Reply with quote

See if this helps;
https://bugs.gentoo.org/show_bug.cgi?id=235462
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
jice
n00b
n00b


Joined: 02 Jul 2006
Posts: 29

PostPosted: Mon Feb 02, 2009 11:43 pm    Post subject: Reply with quote

I ran into the same permission problems and did find the bug report helpful.

After emerging, I did the following to get things fixed up (mounting remote file systems as /net):

1) Make sure that /etc/autofs/auto.master specified /etc/autofs/auto.net:

Code:
/net     /etc/autofs/auto.net


2) Added sec=sys to the opts in /etc/autofs/audo.net:

Code:
opts="-fstype=nfs,hard,intr,nodev,nosuid,sec=sys"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum