I already did it in the past if I remember correctly.
Related to #41.
tree /var/www/
/var/www/ [error opening dir] 0 directories, 1 file
tree /var/spool/cron/
/var/spool/cron/ ├── atjobs [error opening dir] ├── atspool [error opening dir] └── crontabs [error opening dir] 4 directories, 0 files
ls /var/log/
alternatives.log apt cron.log.4.gz dpkg.log.7.gz letsencrypt syslog xrdp.log.1.gz alternatives.log.1 auth.log daemon.log dpkg.log.8.gz mail.err syslog.1 xrdp.log.2.gz alternatives.log.10.gz auth.log.1 dbconfig-common dpkg.log.9.gz mail.info syslog.2.gz xrdp.log.3.gz alternatives.log.11.gz auth.log.2.gz debug faillog mail.log syslog.3.gz xrdp.log.4.gz alternatives.log.12.gz auth.log.3.gz dpkg.log fontconfig.log mail.log.1 syslog.4.gz xrdp-sesman.log alternatives.log.2.gz auth.log.4.gz dpkg.log.1 icecast2 mail.log.2.gz tor xrdp-sesman.log.1.gz alternatives.log.3.gz btmp dpkg.log.10.gz installer mail.log.3.gz user.log xrdp-sesman.log.2.gz alternatives.log.4.gz btmp.1 dpkg.log.11.gz journal mail.log.4.gz user.log.1 xrdp-sesman.log.3.gz alternatives.log.5.gz cloud-init.log dpkg.log.12.gz kern.log mail.warn user.log.2.gz xrdp-sesman.log.4.gz alternatives.log.6.gz cloud-init-output.log dpkg.log.2.gz kern.log.1 messages user.log.3.gz alternatives.log.7.gz cron.log dpkg.log.3.gz kern.log.2.gz mysql user.log.4.gz alternatives.log.8.gz cron.log.1 dpkg.log.4.gz kern.log.3.gz private wtmp alternatives.log.9.gz cron.log.2.gz dpkg.log.5.gz kern.log.4.gz README wtmp.1 apache2 cron.log.3.gz dpkg.log.6.gz lastlog runit xrdp.log
ls /var/log/apache2/
ls: cannot open directory '/var/log/apache2/': Permission denied
tail /var/log/auth.log
tail: cannot open '/var/log/auth.log' for reading: Permission denied
tree /home/ -L 2
shows unwanted results.
DuckDuckGo and Google search Linux chmod remove permissions.
chmod o-rx -R .
seems to meet my needs.
Source: the Ask Ubuntu answer 1129487
head /file.swap
head: cannot open '/file.swap' for reading: Permission denied
The Unix Stack Exchange question 61074
Related to Benjamin_Loison/flatpak/issues/7#issuecomment-3125159.
No dependencies set.
The note is not visible to the blocked user.
I already did it in the past if I remember correctly.
Related to #41.
Output:
Output:
Output:
shows unwanted results.
DuckDuckGo and Google search Linux chmod remove permissions.
seems to meet my needs.
Source: the Ask Ubuntu answer 1129487
The Unix Stack Exchange question 61074
Related to Benjamin_Loison/flatpak/issues/7#issuecomment-3125159.