Subject: | |
From: | |
Reply To: | |
Date: | Fri, 17 Nov 2006 10:59:08 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Manfred,
Thanks for the quick reply: your advice to use 'no_root_squash' solved my
problem.
I feel stupid because I read about that option but didn't understand what it
did...
Appreciate your help!
Mark
-----Original Message-----
From: Manfred Alef [mailto:[log in to unmask]]
Sent: vrijdag 17 november 2006 9:49
To: Mark Van Crombrugge
Cc: [log in to unmask]
Subject: Re: NFS chown/chgrp problem
Mark Van Crombrugge wrote:
> Dear all,
>
> I am using Scientific Linux 3.4 and activated an NFS link between two
> servers, making available diskspace from bigserver2 to smallserver1.
>
> One userID is used for uploading datafiles to smallserver1 and another
> is used for creating/editing webpages on that server.
> Because this created access problems I created a group 'webdevelop' on
> smallserver1 to contain these 2 users so they can access eachothers files.
> After doing this, I discovered that executing the chgrp and chown
> command on the files/directories on smallserver1 returns error message
> "Operation not permitted".
>
> On smallserver1 I use the mount command:
> bigserver2:/var/wwww/html/website on /var/www/html/website type nfs
> (rw,
> addr=ipaddress-of-bigserver2)
>
> I'm realy stuck and have spent about a day trying to solve/understand
> this so any help is very welcome!
The chgrp and chown commands require root permission.
Add "no_root_squash" to /etc/exports on bigserver2.
See 'man 5 exports" for more details.
Or run chgrp and chown on bigserver2, not on smallserver1.
Manfred Alef
|
|
|