Link to home
Start Free TrialLog in
Avatar of Denisvt
Denisvt

asked on

Files under two users' ownership on a Linux server

Hi,
I have the following case - the site was transfered from a Cobalt RAQ to a Fedora Plesk server, and since we have an ownership / perms issue with some files.
In the site structure, the main site resides at / and some users have their own subdirectory a say /web_users/user1 etc. Each user can FTP into the site, and the site also has a different, main FTP account that supposedly can manage everything.
The problem is that the files in say /web_users/user1 that therefore belong to user1 here, cannot be accessed or modified by the main FTP user anymore. Our need is for those sub-directories and their files to be editable by the main FTP access for that account, but also by the user those files belong to.
Obviously we can "chown -R" all files within /web_users/user1 so that they belong to the main FTP user, but in that case the problem is reversed and from then on the user1 cannot change the files in what is supposedly his own space.
Therefore my question is to know if, and how, we can have two users potentially access and modify some files on the server, without comprosing each other's rights to update that file in the future.
I am almost positive this is how it worked on the RAQ where the main FTP account could do everything, but also where a user could manage its own site at domain/~user1/.
Thanks.
 
SOLUTION
Avatar of owensleftfoot
owensleftfoot

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Mark
Mark
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Denisvt
Denisvt

ASKER

Thanks for the replies. The tech person who manages this Plesk server says it's impossible to achieve what we need because Plesk is so proprietary, however I'll provide him your two replies.