S
S
Semen553382016-04-04 05:53:53
linux
Semen55338, 2016-04-04 05:53:53

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::---

Why is there no access?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Lebedev, 2016-04-04
@Semen55338

sudo su-user

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question