Hello folks,
I ran into a problem were Apache can't read or write newly created files by my FTP user (named roy).
I gave Apache-user and the FTP-service-user ownership to /var/www.
However when a new user logs in on the ftp, files and directories get created by this user on his own. The general group www-data also gets added, but has no read or write rights. See below what I mean and what happens if I create a folder into the /var/www/ folder.
drwx--S--- 2 roy www-data 4096 May 15 18:21 test456
How can I fix this problem to make sure apache can read it?
Thanks in advance.
Bookmarks