Re: ownership on nfs-server
- From: "d" <kevindu28@xxxxxxxxx>
- Date: 28 Jan 2006 18:38:37 -0800
Richard Müller wrote:
> Hi all,
> I have an NFS-server and want to use it as backup storage. Unfortunately I
> cannot access it from my other computer, configured as an nfs-client. As
> root (on the client) I can see the NFS-server's files (the server's
> filesystem is mounted to a directory on the client), but I can not write
> to them. And as user on the client I can not even read the files. I have
> the same user names (and IDs) on the NFS-server and the client. How can I
> tell the server, that the client's users have write permissions on their
> directories on the server? (Actually, I have two users on the server, who
> should have their own directories).
>
> I don't know if the following is related to the named problem, but I think
> so: I want to remote administrate the server from the client via krdc. But
> there cames no connection... (the network connection works, as I can see
> the remote filesystem, as mentioned above).
> I'd appreciate every hint!
> Thanks a lot, Richard
> --
> R. Müller r.mueller-at-walram-punkt-org
> Replace -at- with @ and -punkt- with a .
Since root can't write to NFS mounted file systems you need to have
your accounts on the NFS server available to the NFS client. I did
this through NIS (yp). Your NFS server is also the NIS server.
Whatever accounts you have on the server can also logon to the client
getting its authenication information from the server. Then if you
export a directory called /export/backup which has permissions 775 and
owned by root:users an all your accounts are in group users. When you
logon to the client as a users that account will be able to write to
the remote mounted file system from the server. Oh, you have to mount
server:/export/backup to some directory on the client as root. You
might want to look into the auto mounting features.
Here are some great references to NFS and NIS and very easy to follow
with good examples.
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch29_:_Remote_Disk_Access_with_NFS
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch30_:_Configuring_NIS
.
- References:
- ownership on nfs-server
- From: Richard Müller
- ownership on nfs-server
- Prev by Date: Re: I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- Next by Date: Re: I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- Previous by thread: Re: ownership on nfs-server
- Next by thread: /etc/sysconfig/static-routes file missing
- Index(es):
Relevant Pages
|