[BlueOnyx:13349] Re: restrict access to subdirectories for FTP user

Michael Stauber mstauber at blueonyx.it
Tue Jul 16 06:09:03 -05 2013


Hi Frank,

> Have you some idea for this ?

Best idea for that is to use anything else but FTP. Due to the way FTP
works it can't be done.

Even if you let the graphics designer upload the stuff to his own /web
directory in ~graphics/web/images and symlink that to /web/images of the
website, you'll end up with permission and ownership issues and suPHP
will not work.

One way to do it: Let the users upload the stuff to their own home
directory and use a cronjob to copy the stuff to the correct places in
/web. The cronjob can then also fix permissions and ownerships.

Or use a web based form for uploads.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list