Linux Operating System (MOSC)

MOSC Banner

Setting ownership for files and directories.

edited Feb 25, 2024 11:37PM in Linux Operating System (MOSC) 1 commentAnswered

The client is undergoing a security authentication review, during which it was recommended to set ownership for files and directories found without an owner. Please provide guidance on how to set ownership.


#find /var -xdev \( -nouser -o -nogroup \) -exec ls -ald {} \;

-rw-rw---- 1 54321 mail 0 May 18 2021 /var/spool/mail/oracle

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