VSFTPd, Apache2 and permissions
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 "firstname.lastname@example.org" >>>
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
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users