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!
Hola estimados!
Es posible descargar parches sin tener una licencia de oracle solo para fines de pruebas y desarrollo.
Saludos!
No, "x" does not stand for delete, nor does "wx" mean modify.
Directories normally have execute permission in order to set a directory as a working directory, i.e. to "cd" into it. Setting write permissions (w) but no read (r) on a directory creates a dropbox, where regular users can create, modify and delete files restricted by owner and group permissions, but cannot list directory content.
Base permissions for files are 0666 and 0777 for directories. You also have to consider the umask, which is 0022 for root and 0002 for regular users. Hence the default permissions are 0644 for files and 0755 for directories created by root, and 0664 and 0775 respectively for regular users.
Setting file or directory permissions to 736 (owner/group/all) does not make sense and will give every user read and write access to files, including modify and delete. Setting file or directory permissions to 736 (owner/group/other) does not make sense and will give every user full access who is not owner or matched by group. If you require a more granulated access to files or directories, you need to setup ACL. Please check the man page for setfacl(1).
I had some doubt and did a few tests. So I wish to correct my previous post:
The permissions are owner, group and other.
However, other permissions apply to everyone unless matched by owner or group.
For example:
# mkdir box
# chown dude:oinstall box
# chmod 737 box
# ls -ld box
drwx**-wx**rwx. 1 dude oinstall 0 Jun 12 18:13 box
# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall), etc....
# id toby
uid=54324(toby) gid=54335(toby) groups=54335(toby)
As we can see below group privileges take precedence:
[oracle@localhost ~]$ cd /box
[oracle@localhost box]$ ls
ls: cannot open directory .: Permission denied
[toby@localhost ~]$ cd /box
[toby@localhost box]$ ls
[toby@localhost box]$
Double-check:
# usermod -a -G oinstall toby
uid=54324(toby) gid=54335(toby) groups=54335(tobi),54321(oinstall)
[toby@localhost /]$ cd /box
OS OL 7.6, Filesystem BTRFS.