PDA

View Full Version : Making directories writable for other users



Thunderbite
11-28-2008, 11:57 AM
Hi all,

Don't know if this is the right place for this question but i hope so....

For the example please think that i have 2 users in my box... user 1 and user 2...

Now i want to be able trough a browser upload on the site of user 2 to write a file to the upload folder of user 1 so with user 2 i want to wright to /home/user1/domains/domain.com/public_html/uploads/

I tried allready several things... i got it so far that i can find the folders but i cant write anything in to the folders.... are there some steps i have to take to make the folder writable?

i configured the folder like this
drwxrwxrwx 5 user1 apache 512 Nov 28 19:23 uploads/

Thanks,
Mark

nobaloney
11-29-2008, 01:40 PM
Create the folder for user1

Then create an ftp user for user1, and give user2 the login information for the ftp user account.

Jeff

Thunderbite
12-01-2008, 02:19 PM
ha done it thanks a lot