Antergos / Cnchi

A modern, flexible online system installer for Antergos Linux
GNU General Public License v3.0
291 stars 101 forks source link

Permission issue /root folder? #1116

Closed killajoe closed 5 years ago

killajoe commented 5 years ago

Describe the bug https://forum.antergos.com/topic/11148/root-user-folder-permissions

To Reproduce

ls -l /
lrwxrwxrwx   1 root root     7  6. Dez 15:19 bin -> usr/bin
drwxr-xr-x   4 root root  4096 23. Dez 10:59 boot
drwxr-xr-x  21 root root  3780 26. Dez 11:49 dev
drwxr-xr-x 115 root root 12288 26. Dez 11:49 etc
drwxr-xr-x   6 root root  4096 29. Nov 19:23 home
lrwxrwxrwx   1 root root     7  6. Dez 15:19 lib -> usr/lib
lrwxrwxrwx   1 root root     7  6. Dez 15:19 lib64 -> usr/lib
drwx------   2 root root 16384 22. Mai 2018  lost+found
drwxr-xr-x   3 root root  4096  8. Dez 15:11 media
drwxr-xr-x   5 root root  4096 29. Sep 16:50 mnt
drwxr-xr-x  10 root root  4096 19. Dez 23:21 opt
dr-xr-xr-x 244 root root     0 26. Dez 11:49 proc

> drwxr-xr-x  26 root root  4096  9. Dez 11:13 root

drwxr-xr-x  34 root root   840 26. Dez 11:55 run
lrwxrwxrwx   1 root root     7  6. Dez 15:19 sbin -> usr/bin
drwxr-xr-x   5 root root  4096 22. Mai 2018  srv
dr-xr-xr-x  13 root root     0 26. Dez 11:49 sys
drwxrwxrwt  14 root root   340 26. Dez 11:58 tmp
drwxr-xr-x  11 root root  4096 26. Dez 11:32 usr
drwxr-xr-x  13 root root  4096 26. Dez 11:49 var

Expected behavior

ls -l /
lrwxrwxrwx  1 root root     7 21. Aug 16:21 bin -> usr/bin
drwxr-xr-x  3 root root  4096 16. Dez 11:52 boot
drwxr-xr-x  2 root root  4096  4. Dez 16:04 dev
drwxr-xr-x 84 root root  4096 26. Dez 11:42 etc
drwxr-xr-x  3 root root  4096 22. Dez 14:49 home
lrwxrwxrwx  1 root root     7 21. Aug 16:21 lib -> usr/lib
lrwxrwxrwx  1 root root     7 21. Aug 16:21 lib64 -> usr/lib
drwx------  2 root root 16384  4. Dez 15:59 lost+found
drwxr-xr-x  2 root root  4096 21. Aug 16:21 mnt
drwxr-xr-x  3 root root  4096  4. Dez 19:28 opt
dr-xr-xr-x  2 root root  4096  4. Dez 16:04 proc

> drwxr-x---  6 root root  4096  4. Dez 19:07 root

drwxr-xr-x  2 root root  4096  4. Dez 16:04 run
lrwxrwxrwx  1 root root     7 21. Aug 16:21 sbin -> usr/bin
drwxr-xr-x  4 root root  4096  4. Dez 16:08 srv
dr-xr-xr-x  2 root root  4096  4. Dez 16:04 sys
drwxrwxrwt  2 root root  4096  4. Dez 16:04 tmp
drwxr-xr-x  9 root root  4096 16. Dez 14:12 usr
drwxr-xr-x 12 root root  4096 22. Dez 14:35 var

Additional context https://forum.antergos.com/topic/11148/root-user-folder-permissions/4

killajoe commented 5 years ago

@lots0logs @karasu ?

karasu commented 5 years ago

@killajoe cannot find where the problem is. Meanwhile I'll issue a fix so Cnchi repairs it.