[nfs-discuss] copy on nfs client (Permission denied)

2008-09-24 Thread Tom Haynes
pradeep gopana wrote:
> Yes it is root , so what is the solution for this
>  

You need to modify the share in one of two ways:

share -F nfs -o rw,root=hostname /Documents

which will only allow hostname root access or

share -F nfs -o rw,anon=0 /Documents


which will allow root from any host to have access.

Look at the man page for share_nfs(1M) for more details.


> Pradeep G
>
> On Wed, Sep 24, 2008 at 8:20 PM, Tom Haynes  > wrote:
>
> pradeep gopana wrote:
>
> on the server mode permission are set to all (777) . Yes iam
> able to write with the same user id on server side
>  Thanks,
> Pradeep G
>
>
> What user id?
>
> If it is root, then this is expected.
>
>
>
>
> -- 
> smile until u reach
>
> last mile of ur life
>
> ---prapy..




[nfs-discuss] copy on nfs client (Permission denied)

2008-09-24 Thread Tom Haynes
Pradeep wrote:
> Hi ,
>  Iam seeing a error when i perform a copy of file 
> from nfs client
> cp:cannot create /mnt//l.zio :Permission denied
> Both server and client have 
> Solaris 10 08/07 on them
>
> Here are the steps followed for nfs mount
> On server side i use
> svcadm refresh network/nfs/server
> share -F nfs -o rw /Documents
>
> on Client side
> svcadm refresh svc:/network/nfs/client:default
> mount -F nfs :/Documents /mnt
>
>   
What are the permission modes on the server side?

I.e., with the same user id, can you write to /Documents on the server?

> Everything is fine until now
> when i tried to copy some file into /mnt its throwing 
> error 
> cp:cannot create /mnt//l.zio :Permission denied
>
> I also edited the file /etc/default/nfs and made them to 3
> NFS_CLIENT_VERSMAX
> NFS_SERVER_VERSMAX
>
> Any help will be greatly accepted
>
> Thanks
> Pradeep G
> --
> This message posted from opensolaris.org
> ___
> nfs-discuss mailing list
> nfs-discuss at opensolaris.org
>   




[nfs-discuss] copy on nfs client (Permission denied)

2008-09-24 Thread Pradeep
Hi ,
 Iam seeing a error when i perform a copy of file 
from nfs client
cp:cannot create /mnt//l.zio :Permission denied
Both server and client have 
Solaris 10 08/07 on them

Here are the steps followed for nfs mount
On server side i use
svcadm refresh network/nfs/server
share -F nfs -o rw /Documents

on Client side
svcadm refresh svc:/network/nfs/client:default
mount -F nfs :/Documents /mnt

Everything is fine until now
when i tried to copy some file into /mnt its throwing 
error 
cp:cannot create /mnt//l.zio :Permission denied

I also edited the file /etc/default/nfs and made them to 3
NFS_CLIENT_VERSMAX
NFS_SERVER_VERSMAX

Any help will be greatly accepted

Thanks
Pradeep G
--
This message posted from opensolaris.org