[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Permissions and Ownership command
- Subject: RE: [cobalt-users] Permissions and Ownership command
- From: Rusty Waybrant <rwaybrant@xxxxxxxxxxx>
- Date: Thu Jul 18 13:25:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Andy wrote:
>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...
I have come across this a few times when a customer has two siteadmin's or
when using FTP and FrontPage for publishing...
When two users with FTP, userA and userB, userA uploads some files, the
files are owned by userA, userB uploads different files and these are
owned by userB. With 644, only the user that originaly uploaded the
files will be able to modify or delete. Changing to 664 (-rw-rw-r--) takes
care of this, since both userA and userB are in the same site# group. (You
can research to find to make this the default, or most FTP-clients can
chmod and push this responsiblity off to the end-user)
With FrontPage, the user is 'nobody', and using 664 has been dangerous,
especially with newbie FTP users. Sometimes the FTP user touches or
completely distroys the FP extensions, breaking FP functionality for the
site, like a blank or corrupted 'service.pwd' uploaded through FTP.
Rusty W.
P.S. Does the numbers from FTP match the UID of the username?