Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fedora server on gentoo
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
earthy
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2006
Posts: 147

PostPosted: Sun Mar 27, 2011 4:45 pm    Post subject: Fedora server on gentoo Reply with quote

I tried this method on a gentoo machine,it mounts but:
ls: cannot open directory /home/earthy/asinn/: Permission denied
and when I check with ls -l :
ls -l /home/earthy/
total 794027
drwx—— 61 500 500 4096 Mar 27 2011 asinn
I cannot change it with root nor user so it is a useless mount.
I know this is very old post but it seems to work for me up to that last point.
Maybe this doesn belong in a gentoo forum,but according to that logic it would not either fit on fedora's.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16022

PostPosted: Sun Mar 27, 2011 5:00 pm    Post subject: Reply with quote

I think you must have inappropriately attached to some other thread, and been split off from it due to thread necromancy. Unfortunately, without the context of the source thread, your post does not provide adequate details for us to help you. From what I can gather, everything is working as it should. User earthy (uid 500 on the Fedora server) has made his/her home directory mode 700. On the client, no one except uid 500 (and possibly root, depending on whether the server has enabled root squashing) can access that directory.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46371
Location: 56N 3W

PostPosted: Sun Mar 27, 2011 5:00 pm    Post subject: Reply with quote

earthy,

Code:
drwx—— 61 500 500 4096 Mar 27 2011 asinn
tells that the directory is owned by the user with userID 500 and belongs to the group with groupID 500.
Neither that user or group exist. Only root has access there.

You need to make a new user with userID 500, then that user will have permissions because they will be the owner.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mmealman
Guru
Guru


Joined: 02 Nov 2002
Posts: 348
Location: Florida

PostPosted: Mon Mar 28, 2011 4:40 pm    Post subject: Reply with quote

NeddySeagoon wrote:
earthy,

Code:
drwx—— 61 500 500 4096 Mar 27 2011 asinn
tells that the directory is owned by the user with userID 500 and belongs to the group with groupID 500.
Neither that user or group exist. Only root has access there.

You need to make a new user with userID 500, then that user will have permissions because they will be the owner.


Yeah, and I believe Gentoo starts the users at ID 1000, where most other distros use 500.

chown 1000:1000 -R asinn would also likely fix the user access issue.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16022

PostPosted: Tue Mar 29, 2011 2:20 am    Post subject: Reply with quote

mmealman wrote:
chown 1000:1000 -R asinn would also likely fix the user access issue.
Changing the ownership will grant access on one machine, while also breaking access on any machines where it presently works.
Back to top
View user's profile Send private message
mmealman
Guru
Guru


Joined: 02 Nov 2002
Posts: 348
Location: Florida

PostPosted: Tue Mar 29, 2011 3:07 am    Post subject: Reply with quote

Hu wrote:
mmealman wrote:
chown 1000:1000 -R asinn would also likely fix the user access issue.
Changing the ownership will grant access on one machine, while also breaking access on any machines where it presently works.


Ah, it's a network mount. Then the only solution is likely UID mapping.

Or, just change the UID/GID of the user on the Gentoo box to 500 instead of 1000.
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