FTP problem

bv0ers

New member
Joined
Dec 1, 2005
Messages
2
Excuse me for crossposting, but I wrote my message in the wrong thread I think..

Since a while I'm running DirectAdmin together with ProFTPD. Everything works really fine, except for one thing: assigning different permissions to FTP users.

For examle:

I have directory, /home/domain.com/domains/domain.com/public_html/testfolder

I created the following users
[email protected]
[email protected]

I want [email protected] to only have read permissions on the folder, and [email protected] both read and write permissions.

How can I set this up?

Many regards,


Bas
 
I'm having the same problem, does anyone know how to do that?

Thanks,
PLI
 
DA won't change your file permissions from the standard; it doesn't have any idea what you want.

This is custom stuff...

Both users will need to be set up as actual linux/unix users.

chown the directory to <writeuser>:<readgroup> and chmod the permissions as 750 if you don't want the world (for example, apache) to be able to see the files, or 755, if you do.
Then umask the directory as 133 so all files will be created chmod 644.

Jeff
 
Back
Top