[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Owner error after upgrade
- Subject: Re: [cobalt-users] Owner error after upgrade
- From: "Andy Clyde, oxfordmusic.net" <andy.clyde@xxxxxxxxxxxxxxx>
- Date: Thu Jul 18 12:26:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> > i've noticed this problem as well now. it all looks fine via
> > ssh but using ws_ftp i can only see the numbers. it means i'm
> > not able to upload to a site where's there's multiple siteadmins.
> >
> > did anyone get to the bottom of this?
> >
>
> How do you know it means that? Have you been unable to upload? One of
> our knowledgeable list members tells me via AIM that "the numbers are
> the uid associated with that username".
>
> As a test, I created another user name for one of my sites. It let me
> overwrite the other siteadmin's files, but kept the other site admin's
> UID number/username as the owner. If I deleted the file and uploaded it
> as new, it shows the new UID of the new user. If you SSH in and do ls
> -la you'll see the files still show the siteadmin username as the owner,
> not the number. In addition, it still is keeping the original username
> as owner for files that were overwritten when uploaded by a different
> siteadmin username. Only newly uploaded files show the new siteadmin
> username.
>
> Below is the ls -la output. I deleted index.html as the new user2 and
> uploaded it again. Now it shows it's owned by user2. As user2 I
> overwrote file.html and it retained the ownership of user1.
>
> -rw-rw-r-- 1 user1 site# 9507 Jul 18 10:37 file.html
> -rw-rw-r-- 1 user1 site# 14105 Jul 18 10:36 directory.html
> -rw-r--r-- 1 user2 site# 8422 Jul 18 10:35 index.html
>
> I then deleted that user2 and now ls -la:
>
> -rw-rw-r-- 1 user1 site# 9507 Jul 18 10:37 file.html
> -rw-rw-r-- 1 user1 site# 14105 Jul 18 10:36 directory.html
> -rw-r--r-- 1 277 site# 8422 Jul 18 10:35 index.html
>
> If you do ls -nl you'll see the numbers instead of usernames.
>
> I then could not upload index.html as user1 but I could delete it and
> upload it again.
> This is a good reason to have only one generic username, e.g.
> site25admin as siteadmin and just have normal users for their email.
> That way you just share the password among the trusted siteadmins and if
> there's a problem you just change the password and don't have to deal
> with "unowned" files in /web.
>
> Please do not top post to this.
> --
ok, so i've had a look at some of the vsites on my box.
on all of them, the file permissions seem to be '-rw-r--r--' with a username
and a group name via ssh but with numbers for both via ftp.
directories seem to have 'drwxr-s-r-x' with a username and a group name
visible via ssh but again only numbers are visible via ftp.
and it's not allowing me even to delete files owned by another siteadmin.
this is happening on sites that have had no users added or deleted...
any ideas?
andy