Quote:
Originally posted by Road
is it possible to have 2 onwers to a file?
|
Hi!
Well, I don't know anything about coldfusion, but I can help you with the owners.
Well, to make more than one user own a file, you'd have to make a group, and then let all the users that you want to own the file become members of that group. For example
I want the file foo.file thats currently owned by nobody to be owned by the users bob, and pete.
groupadd foo
chown bob:foo foo.file
(that means, make the owners the user bob, and all members of the group foo)
chmod 770 foo.file
(that means, the owner has rwx permissions, and all members of the file's group has rwx permissions, and everyone else has no permissions)
edit /etc/group with your favourite editor, add bob and pete after the last ':' of the group foo (which should be at the bottom).
Good Luck!
RefriedBean