How to allow access to another users public_html

pondoli

Verified User
Joined
Feb 3, 2010
Messages
15
Dear all,

For a project of mine I need to give user A access to the public_html of user B. How can I achieve this?

Thank you in advance,
Pondoli
 
No I don't have the access through php right now. I do have access to the entire server (machine) as serveradmin.
 
Put both users in a group and chgrp the folder and chmod to 775 or 771
 
I have been struggeling to get it working.
I put both users in an extra group and gave the public_html folder the rights 40771, its owner is the original owner and the group is the newly created group.

Yet I still don't have access through php. The function
PHP:
is_dir('/home/test/domains/test.com/public_html')
is still returning false.

What am I missing?
 
Euhm, safe mode is off, and open base dir is indeed set to only /home/user:/tmp:/var/tmp:/usr/local/lib/php/
So what is the best way to add a folder to this set of paths?
 
Back
Top