I know I can chown <user> <dir> but the user2 can still ls it. How do I stop user2 from even listing or ls the directory?
Asked
Active
Viewed 84 times
0
Lakshaya U.
- 101
chmod. (1) Understanding UNIX permissions and file types. (2) Execute vs Read bit. How do directory permissions in Linux work? (3) Do the parent directory's permissions matter when accessing a subdirectory? (4) Mind this behavior. – Kamil Maciorowski May 01 '21 at 08:13chmod 755the dir afterchowning it. – Lakshaya U. May 03 '21 at 02:50