Re: root can't write to NFS mounted directory

2005-10-18 Thread Erik Norgaard

On Tue, 18 Oct 2005, Mohan Singh wrote:


The users who log in via NIS can write to their respective home
directories, but root on the NFS client can't.

The NFS directories are exported via a NAS. I know it is not a
configuration issue on the NFS server, as it previously worked fine,
and the only change I have made recently is to wipe and install the
client.

What setting on the client allows root to write to NFS mounted directories?


This behaviour is expected if you haven't set maproot on the 
server. By default the server will map the root user on the 
client to nobody on the server. On the server set --maproot=root 
to give root on the client access as root on the server.


- I know you write that it worked and you haven't changed anything 
on the server, but check it anyway.


Anyway, it is not recommended to use --maproot, in particular not 
for write mounted shares as there is no authentication.


Cheers, Erik

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: root can't write to NFS mounted directory

2005-10-18 Thread David Kirchner
On 10/18/05, Mohan Singh <[EMAIL PROTECTED]> wrote:
> I have some home directories that is mounted over NFS.
>
> The users who log in via NIS can write to their respective home
> directories, but root on the NFS client can't.
>
> The NFS directories are exported via a NAS. I know it is not a
> configuration issue on the NFS server, as it previously worked fine,
> and the only change I have made recently is to wipe and install the
> client.
>
> What setting on the client allows root to write to NFS mounted directories?

I don't think there is one, but I could be wrong. There is a setting
which enables/disables global write access to the partition. Use
"mount -o rw -u /mountpoint" to remount it as read-write, if it's
read-only now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


root can't write to NFS mounted directory

2005-10-18 Thread Mohan Singh
I have some home directories that is mounted over NFS.

The users who log in via NIS can write to their respective home
directories, but root on the NFS client can't.

The NFS directories are exported via a NAS. I know it is not a
configuration issue on the NFS server, as it previously worked fine,
and the only change I have made recently is to wipe and install the
client.

What setting on the client allows root to write to NFS mounted directories?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"