Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-05-2006, 08:33 AM
|
#1
|
|
Member
Registered: Sep 2003
Location: Sweden
Distribution: Fedora
Posts: 43
Rep:
|
file permission problems on nfs-share
Hi all,
I'm trying to solve a really annoying problem at the office. We have a server computer running red hat 9 which is sharing some folders over nfs, for people to store their documents in. Everybody needs access to all the other people's files. This is where the trouble begins. Usually it's impossible to open other peoples files and you get a warning message saying you don't have the right permissions! The shared folder is 777 and shared with read and write access.
What should I do?
Would be very grateful for help
Thanks
|
|
|
|
12-05-2006, 10:05 AM
|
#2
|
|
LQ Newbie
Registered: Nov 2004
Posts: 8
Rep:
|
Hi,
When the users create a file, using NFS, in the server appears the owner, group and permissions correctly? Have the stations and server the same /etc/passwd and /etc/group? “If you are not root, then usernames may not be in sync on the client and the server. Type id [user] on both the client and the server and make sure they give the same UID number.. If the user names match then the user has a more general permissions problem unrelated to NFS.”
|
|
|
|
12-05-2006, 12:59 PM
|
#3
|
|
Member
Registered: Sep 2003
Location: Sweden
Distribution: Fedora
Posts: 43
Original Poster
Rep:
|
Thank you for your reply!
Unfortunately the workstations and the server do not use the same /etc/passwd and /etc/group files, so I guess you're right about the UID and the GID numbers not being synced. How would I resolve this problem? Use some system for centralized logins like NIS or could I just make the users members of a group that is the same GID on all computers?
Thanks again
|
|
|
|
12-05-2006, 01:57 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2004
Posts: 8
Rep:
|
Firstly, I want to know if you see (in the server) the owner and permissions correctly when any user creates a file or directory.
“Once the NFS file system is mounted read-write by a remote host, the only protection each shared file has is its permissions. If two users that share the same userid value mount the same NFS file system, they will be able to modify each others files.” Maybe for each station exists a user when the same uid and group and in this case is enough the user creation over the server of the common userid and group that use the stations.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:59 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|