Category: Web Development

  • How do I give www-data user to a folder in my home folder?

    First, add yourself into the group www-data Then: Should do the trick unless the permissions on your /home/myuser do not permit other users access. The first command changes the group ownership of the folder to that of the webserver. The second command gives members of the www-data group read, write, enter-directory rights, and the group s flag will ensure that any files…