VSFTPd, Apache2 and permissions
konf at rotursoft.sk
Thu Jul 1 21:44:59 UTC 2010
I will answer myself in hope to help some of you in the future. Maybe
to me too when I will forget it. :-D
The key is to set "local_umask=000" into vsftpd.conf and all files
start to be uploaded with read and write permissions.
<<< 01.07.2010 21:37 - Roland Turcan "konf at rotursoft.sk" >>>
RT> Hello all,
RT> I am trying to setup up the same data dir for apache2 and vsftp where
RT> I have problems with permissions.
RT> vsftp has option file_open_mode=0666 to allow read/write for anybody
RT> which works over ftp fine, but the same directory is set up as web
RT> page directory over apache2 for file listing, but over apache2 I
RT> didn't get files because of permission problems. When I check the
RT> permissions of uploaded file in system I see that they have 0600 which
RT> is not enough.
RT> How to set up permissions to satisfy apache?
RT> Thanks in advance.
RT> Best regards, TRoland
Best regards, TRoland
More information about the ubuntu-users