UNIX Groups & FTP users


I’m following the instructions on the DreamHost wiki to give an individual FTP user access to a specific subdirectory of a website.

I’ve created a UNIX group for that FTP user and symbolically linked the subdirectory to the FTP user’s home dir. That all works great. In the instructions, there’s a caveat that states that all .cgi files must be owned by the default pg###### group. I don’t want this FTP user to have access to the .cgi, saved in /home/johndoe/my_domain.com/bin/*. How do I restrict access to the .cgi if the FTP user is also a member of the default pg###### group?

Thanks for any help,


Have you tried setting permissions on the file for no group access (chmod 700) ?

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost