Web Hosting Talk







View Full Version : CPanel & ProFTPd


Haze
06-13-2002, 07:13 PM
Would somebody please show me the permissions they have set for the /etc/proftpd folder and for the files inside ( just the user files, only need one, as they would all be the same ). Thank you muchly.

Matt Lightner
06-13-2002, 07:31 PM
The directory itself:

chown root.proftpd /etc/proftpd
chmod 2650 /etc/proftpd

The files inside:

chown root.proftpd /etc/proftpd/*
chmod 640 /etc/proftpd/*
chmod 644 /etc/proftpd/*_logs
chmod 660 /etc/proftpd/passwd.vhosts

Then restart FTP--that should do the trick.

Haze
06-13-2002, 08:28 PM
You are a Legend!

Haze
06-13-2002, 08:32 PM
I just noticed that the user_logs files are all owned by root.wheel. is this normal or should it be root.proftpd?

Matt Lightner
06-13-2002, 08:36 PM
Originally posted by Haze
I just noticed that the user_logs files are all owned by root.wheel. is this normal or should it be root.proftpd? Not sure if that will cause a problem or not. On all of our servers, they are owned by root.proftpd, so I assume that will work fine.

Nicholas Brown
06-13-2002, 10:11 PM
Originally posted by Haze
You are a Legend!

Agreed, Matt has helped me out many times :)

:agree: to Matt :)

Matt Lightner
06-13-2002, 11:25 PM
:blush: *shucks* You guys are too much. Thanks for the kind words. :D

Haze
06-14-2002, 01:23 AM
one more thing.. when i create an ftp account, cpanel creates a folder for that account, but i can still upload, delete & view files in the public_html folder with that user account. How can i prevent this?