[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Suddenly unable to create, delete and rename directories in /web using FTP



Bill Gunning <billgun@xxxxxxxxxxxxxxxxx> wrote:
> Do you have more than 32 sites hosted on the RaQ? If 'admin' belongs to
> more than 32 groups, then 'admin' will not have FTP write access.  This is
> a limitation of the Linux OS. If so then you will need to create a user
for
> each site and login with that user ID & password.

I have about 110 sites on the server so this is true, but I'm FTping to the
sites as the siteadmin, not user "admin".  I was alerted to the problem by a
customer who uses Adobe GoLive to publish to their site.  I have tried
several sites using WS FTP and FTPing in from another Cobalt box and the
symptoms are the same.  From FTP, logged in as siteadmin, I cannot create,
delete or rename directories.

I just came up with a workaround, though I am not sure why it works.

ls /home/sites/site3 gave before the change below:

drwxr-xr-x   7 httpd    site3        1024 Jan  9 15:56 ./
drwxr-xr-x 132 root     root         6144 Feb  8 21:44 ../
drwxr-s---   2 httpd    site3        1024 Dec 27 13:25 logs/
drwxr-xr-x   2 httpd    site3        1024 Dec 27 13:25 misc/
drwxrwsr-x   3 httpd    site3        1024 Jan 21 11:38 users/
drwxrwxr-x  23 httpd   site3        1024 Feb  8 22:58 web/

I executed chown -R mysiteadmin:site3 web so the "web" directory is now
owned by mysiteadmin instead of httpd and now it works.  The box had been
running since April with httpd owning the web directory of all sites and it
had never caused any FTP problems.  Is there a limit on what httpd can own?

Steven {steven@xxxxxxxxxxxx}