Eesti-Malu-Instituut / we-aruanded

Creative Commons Zero v1.0 Universal
0 stars 1 forks source link

Ekstra õigused failisüsteemis #5

Open mitselek opened 5 months ago

mitselek commented 5 months ago

Miks on osadel failidel execute õigused?

root@aruanded:/var/www/html# l
total 76
drwxr-xr-x 3 root root  4096 May  3 22:45 ../
-rw-r--r-- 1 root root  7048 May  3 22:45 LICENSE
-rw-r--r-- 1 root root     4 May  3 22:45 .gitignore
-rwxr-xr-x 1 root root  6652 May  3 22:45 filters.json*
-rw-r--r-- 1 root root  2185 May  3 22:45 table_rows.json
-rwxr-xr-x 1 root root  5527 May  3 22:45 styles.css*
-rw-r--r-- 1 root root   300 May  3 22:57 .env
-rw-r--r-- 1 root root   857 May  9 09:28 README.md
-rw-r--r-- 1 root root   340 May  9 09:28 .env.example
-rw-r--r-- 1 root root  4453 May  9 09:28 SSHMysql.php
-rwxr-xr-x 1 root root 10655 May  9 09:28 index.php*
drwxr-xr-x 3 root root  4096 May  9 09:28 ./
drwxr-xr-x 8 root root  4096 May  9 09:28 .git/
root@aruanded:/var/www/html#
mitselek commented 5 months ago

c44873f resolves the issue

mitselek commented 5 months ago

Palun eemaldada extra õigused kõigilt failidelt, mis seda ei vaja.