Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I found a strange behavior regarding nfs shares with group access rights. I am running a linux server (debian lenny) wich exports the home directories as follows:
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
Nothing special I think, but:
On directories I am the owner I have rw access as expected
On directories with group access (where I am not he owner but the group has read/write access) I have no access at all (using a debian lenny nfs client, user/group ids on server/workstation are the same)
This behavior changes if I am not member in the groups "davfs2" (GID 116) or "netdev" (GID 110). This means only then I have rw access as expected. I have tried to add this groups on the server side also but without any effect.
Does someone have an idea or has found similar problems?
thank you for the posts. But I think I wasn't able to explain my problem the right way. And a small hint to the moderator: I dont't think tis is not a networking question because I am no newbie, I am using Linux for several years (since 1996). But let's try again:
As explained in my last post my server is exporting the complete home directory. So all home directories of the users are exported to my local network.
There is no problem to access my own home directory (I am the owner - of course - and user id ist the same on server and client).
The problem occurs if a directory is exported where the group has read/write access (I am NOT the owner but I am a member of the group who has read/write access). In this case I have no access to the directory and all its contents.
If I log in on the server directly (over ssh) access works as expected.
Another way to get this problem is using different distributions on server side and client side.
NFS uses a network, but it is not networking itself. File permissions, directory listings and such have nothing to do with TCP/IP. Once you have it mounted, the network is no longer relevant at all, unless you're seeing dropouts, delays etc... which you're not.