nfs issue/permission issues when copying files...

Pete Nesbitt pete at linux1.ca
Fri Jul 2 22:04:22 UTC 2004


On July 2, 2004 02:58 pm, bruce wrote:
> ok...
>
> latest nfs issue....
>
> i can currently get/look at the nfs server from a client machine.. i can
> copy a file from the nfs directory to a client directory... however, when i
> try to copy a file from the client directory to the nfs directory i get a
> "permission's denied" error...
>
> i also seem to be having issues with the export file... i've tried a number
> of different attributes bu keep getting warnings...
>
> any ideas/comments would be helpful/greatly appreciated..
>
> the export file::
> /colleges/data           192.168.1.52/24
> (rw,sync,all_squash,anonuid=65534,anongid=65534)
>
>
> the error/warnings from the "exportfs -rv" command...
>
> exportfs: No options for /colleges/data 192.168.1.52/24: suggest
> 192.168.1.52/24(sync) to avoid warning
> exportfs: No 'sync' or 'async' option specified for export
> "192.168.1.52/24:/colleges/data".
>   Assuming default behaviour ('sync').
>   NOTE: this default has changed from previous versions
> exportfs: No host name given with /colleges/data
> (rw,sync,all_squash,anonuid=65534,anongid=65534), suggest
> *(rw,sync,all_squash,anonuid=65534,anongid=65534) to avoid warning
> exporting 192.168.1.52/24:/colleges/data
> exporting :/colleges/data
>
>
> the client error i get when i try to copy a file to the nfs share...
> cp: cannot create regular file `/college/data/./usc.pl': Permission denied
>
>
> https://www.redhat.com/mailman/listinfo/redhat-list


Bruce,
it looks like, since it wrapped, you must have a space between 
"192.168.1.52/24" and  "(rw,sync,all_squash,anonuid=65534,anongid=65534)"

It should all be one string, as in:
/colleges/data <space/tab>  
192.168.1.52/24(rw,sync,all_squash,anonuid=65534,anongid=65534)

Have a look at 'man nfs', you'll probably want to add rsize=8192 & wsize=8192.

-- 
Pete Nesbitt, rhce





More information about the redhat-list mailing list