Re: nfs issue/permission issues when copying files...

From: Pete Nesbitt (pete_at_linux1.ca)
Date: 07/03/04

  • Next message: Eucke Warren: "Re: Quota help"
    To: bedouglas@earthlink.net, General Red Hat Linux discussion list <redhat-list@redhat.com>
    Date: Fri, 2 Jul 2004 15:26:27 -0700
    
    

    On July 2, 2004 03:20 pm, bruce wrote:
    > pete...
    >
    > ok.. that got rid of the server export warnings...
    >
    > but do you have any ideas as to why/what's going on regarding the
    > "permission" issue when i try to copy from the client directory to the nfs
    > share...
    >
    > if i can get this.. i can get on to the issue of the mysql!!!!
    >
    >
    > -bruce
    >

    You have the all nfs mounts squashed to "anonuid=65534,anongid=65534". Does
    that ID (on the server) have write permission to the exported dir?

    Pete

    >
    >
    >
    > -----Original Message-----
    > From: redhat-list-bounces@redhat.com
    > [mailto:redhat-list-bounces@redhat.com]On Behalf Of Pete Nesbitt
    > Sent: Friday, July 02, 2004 3:04 PM
    > To: bedouglas@earthlink.net; General Red Hat Linux discussion list
    > Subject: Re: nfs issue/permission issues when copying files...
    >
    > 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
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list

    -- 
    Pete Nesbitt, rhce
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Eucke Warren: "Re: Quota help"