VSFTPd, Apache2 and permissions

Hakan Koseoglu hakan at koseoglu.org
Thu Jul 1 21:51:34 UTC 2010


Roland,
On 01/07/10 20:37, Roland Turcan wrote:
> Hello all,
>
> I am trying to setup up the same data dir for apache2 and vsftp where
> I have problems with permissions.
>
> vsftp has option file_open_mode=0666 to allow read/write for anybody
> which works over ftp fine, but the same directory is set up as web
> page directory over apache2 for file listing, but over apache2 I
> didn't get files because of permission problems. When I check the
> permissions of uploaded file in system I see that they have 0600 which
> is not enough.
Have a look at the local_umask option on vsftpd.conf.
As the manual says, umask is applied on top of the file_open_mode.






More information about the ubuntu-users mailing list