I need to set up permissions properly on a web folder for two users and apache's www user.
The hierarchy looks like so:
Thought it would be simple, but my user2 cannot create new folders in their chroot dir and newly created files have r-- group permissions instead of rw-.
The hierarchy looks like so:
- /var/www/ contains several folders for several websites managed by user1.
- /var/www/special/ contains a special website folder managed by user2.
Thought it would be simple, but my user2 cannot create new folders in their chroot dir and newly created files have r-- group permissions instead of rw-.