Hello i am setting up a server nginx gives 403 Permission dinied. I found out that somehow the command
chown -R root:www-data /my_directory
only set the permissions of directories. When i use ls -lash i get this
4.0K -rw-r--r-- 1 root www-data 95 Jan 27 16:14 confirm_delete.js
any ideas how i set these permission (preferable for alldirectories at once)