I have a problem / question related to proftpd's virtual users and their connection to apache.
Now, i have a froxlor install with proftpd conecting to mysql for it's virtual user/group ids
Apache works with www-data:www-data. Php works with apache's mod_php5
Connecting through ftp with a virtual user works, i can upload files, delete them, etc and they are set with permissions as expected (eg: uid 10045 guid 10045)
The problem arises when i try to set write permissions on certain files/folder. Setting 775 does not allow apache to write, but setting it to 777 does. I'm not liking the ideea of setting write permissions to all so i hope you can guide me to a solution.
In froxlor's database table ftp_groups, i can see www-data as a member of that virtual group. ( Question: how is this interpreted by the system, as i'm under the impression that only proftpd has access to this data, and not apache / linux? )
I'm interested in a fix, but more interested in understanding how this works, as to be able to tackle it in the future.
Thank you.
PS: Please let me know if you need config/log file dumps.
Question
hexagon
Hello there.
I have a problem / question related to proftpd's virtual users and their connection to apache.
Now, i have a froxlor install with proftpd conecting to mysql for it's virtual user/group ids
Apache works with www-data:www-data. Php works with apache's mod_php5
Connecting through ftp with a virtual user works, i can upload files, delete them, etc and they are set with permissions as expected (eg: uid 10045 guid 10045)
The problem arises when i try to set write permissions on certain files/folder. Setting 775 does not allow apache to write, but setting it to 777 does. I'm not liking the ideea of setting write permissions to all so i hope you can guide me to a solution.
In froxlor's database table ftp_groups, i can see www-data as a member of that virtual group. ( Question: how is this interpreted by the system, as i'm under the impression that only proftpd has access to this data, and not apache / linux? )
I'm interested in a fix, but more interested in understanding how this works, as to be able to tackle it in the future.
Thank you.
PS: Please let me know if you need config/log file dumps.
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.