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

RE: [cobalt-users] Owner error after upgrade



> 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.
-- 
Dan Kriwitsky

Please reply to the list only. Offlist replies are not read.