Running the following script leads to the error "Check failed with unexpected exit code: 1".
Script: https://github.com/ovh/debian-cis/blob/ ... _folder.sh
Output of running the the script in debug mode is attached.
If I run the following command, kinda extracted from the script:then I get the following error:Here is a related investigation: viewtopic.php?p=806684&sid=8661b51a8c76 ... cc#p806684
If I try to look at the directory "/run/user/1000/", then:Note: My OS is a new installed Debian 12 (+Gnome Desktop); Just updated. Only git, vim and curl are installed additionally.
Script: https://github.com/ovh/debian-cis/blob/ ... _folder.sh
Output of running the the script in debug mode is attached.
If I run the following command, kinda extracted from the script:
Code:
root@Debian:~# find /dev /run / /dev/shm /run/lock /boot /run/user/1000 /media -xdev -ignore_readdir_race -type d \( -perm -0002 -a ! -perm -1000 \) -print
Code:
find: ‘/run/user/1000/doc’: Permission deniedfind: ‘/run/user/1000/gvfs’: Permission denied
If I try to look at the directory "/run/user/1000/", then:
Code:
root@Debian:~# ls -lA /run/user/1000/ 1>/dev/nullls: cannot access '/run/user/1000/doc': Permission deniedls: cannot access '/run/user/1000/gvfs': Permission deniedVSroot@Debian:~# su --login "$(id -un 1000)" --command="ls -lA /run/user/1000/ 1>/dev/null"(no error, indeed no output)
Statistics: Posted by moha — 2024-11-24 13:34 — Replies 5 — Views 108