Linux Operating System (MOSC)

MOSC Banner

non-root user should not see files or folders in Linux

Dear Experts,

I have a requirement that non-root user should not see all the files or directory in Linux Operating systems.  If a directory or file is created with root user then only root user should see the directory of files. No other user should see the files.

Example:

In this example,  I am logged in with OS user oracle, but I can see all the files owned by root.  My requiment is that I want to restrict the non root user to see all the files owned by other users.

[oracle@rpm /]$ ll

total 216

drwxrwxrwx   5 root root  4096 Apr 26  2013 backups

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center