Answer the question
In order to leave comments, you need to log in
How to access home directory (SElinux)?
$ sudo useradd user
$ sudo su user
$ ls
ls: невозможно открыть каталог .: Отказано в доступе
$ exit
$ sudo ls -Z /home | grep user
drwx------. user user unconfined_u:object_r:user_home_dir_t:s0 user
$ getfacl /home/user
# file: home/user
# owner: user
# group: user
user::rwx
group::---
other::---
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question