Linux Operating System (MOSC)

MOSC Banner

Recursive chown fails to change dir/file ownership to specified user:group

edited Mar 18, 2022 3:12AM in Linux Operating System (MOSC) 6 commentsAnswered

Helllo, 

I am trying to change the FILE_DIR folder ownership using the below command. The command is successfully completed but ownership is not changing. It is still ec2-user.

Please advice. {admin removed some Personal Information (PI)}

 # chown -R oracle:oinstall FILE_DIR/
 # ls -lrt
 drwxr-xr-x 1 ec2-user ec2-user 0 May 26 2020 FILE_DIR

Thanks & Regards,

Sohail

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