[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Another problem after moving /usr to /home
- Subject: Re: [cobalt-users] Another problem after moving /usr to /home
- From: flash22@xxxxxxx
- Date: Fri Jan 25 15:00:57 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Fri, 25 Jan 2002, Rich LaBo wrote:
> After I moved /usr to /home/usr I'm getting errors on all websites when
> trying to run perl scripts. The error is:
>
> Forbidden
> You don't have permission to access /cgiwrapDir/cgiwrap/secexp/index.pl on
> this server.
Did you use -A when you copied the files? (Archive, preserve owner/perms)
Also, on some machines, cobalt mounts /home with sticky group bit set ,
look at the options in /etc/fstab, the problem is, you will loose the
group id's when you copy files because of this....
The 'grpid' option to mount says 'when creating a directory, give it the
group id of the directory it's in unless it's in a SGID directory already,
then give it the group of the owner of the directory, if you don't make cp
override this behaviour, all your ownerships will get snarfed ;P
ps: The sticky groups are needed on these machines so admin's uploading to
sites will properly set file ownership to their group/site, tho, i think
proftp can handle this now, i wonder if this option is really still
needed, it certainly causes interesting things when it interacts with the
sticky owner (+t) bit on the mail spool....
gsh