Skip to Main Content

Analytics 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!

Integration script for Mapping

967794Jan 30 2013 — edited Jan 30 2013
Is it possible to write an integration script which could connect to an excel file and get its source and target mapping values ?

Comments

Dude!
Answer

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).

Marked as Answer by happy10319 · Sep 27 2020
Dude!

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.

pastedImage_1.png

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

# id toby

uid=54324(toby) gid=54335(toby) groups=54335(tobi),54321(oinstall)

[toby@localhost /]$ cd /box

[toby@localhost box]$ ls

ls: cannot open directory .: Permission denied

OS OL 7.6, Filesystem BTRFS.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 27 2013
Added on Jan 30 2013
3 comments
116 views