Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

file/directory permission

RobeenMar 21 2018 — edited Mar 21 2018

Red Hat Linux 6

Oracle Database

I have a few questions regarding chmod command

https://www.computerhope.com/unix/uchmod.htm

Say for example, on one of my production server, I want to restrict access to a user to specific folders and files.

Please see below.

pastedImage_1.png

In screenshot above, the user test with group mtdnr should not access any folders shown above. I tried chmod 770 but still he can open folders. Or should I assign another group (for example group test with permission 700)?

[root@RH-FTTH-DEV-AP1 bin]# id test

uid=502(test) gid=501(mtdnr) groups=501(mtdnr)

pastedImage_2.png

Thanks

Joe

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 18 2018
Added on Mar 21 2018
2 comments
425 views