i have a directory called dbms and group dba.... My question is how do i set full permissions i.e read/write/execute for all user(in dba group) for the directory dbms.
If i use the following cmd
chmod g+rwx dbms
here in above cmd ..which group it denotes..how AIX will know
The command you use will change the group permission to read, write and execute for the dbms directory. As the directory's group is dba, then that's how "AIX knows".
PS: I have moved this from the AIX sub-forum, as it's not specifically an AIX question.
then SAP (the user) will only have read permissions by virtue of being "other" - much like anyone else who is not the owner of the directory, or not in the dba group.
If you add the Oracle user to the DBA group (as he probably should be), then that problem solves itself.
For more options and flexibility, you should look at AIX ACL's (example linked, but you can google for more)
Last edited by Scott; 07-18-2010 at 07:38 AM..
Reason: Updated link
Asking about the permission inherit from the parent directory
I am running the web app with tomcat8, I did use umask 007 to set permission for folder which enable the sub files and folder inherit the permission from the parent directory, I was successful which some directories but the directories... (2 Replies)
Asking about the permission inherit from the parent directory
I am running the web app with tomcat8, I did use umask 007 to set permission for folder which enable the sub files and folder inherit the permission from the parent directory, I was successful which some directories but the directories... (1 Reply)
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Hi friends,
I would like to grant a management capability for a specific application to my user test. Application is installed under /opt/myApp and has startup and management scripts under directories bin and sbin. This application is installed by root and can be managed by root. For security... (0 Replies)
i have a user 'bart' which does not belong to apps group (as shown below) and i want him to be able to navigate to TEST directory.. i gave him read access but he cannot get through. when i added execute permission he was able to navigate to TEST
drwxr-xr-- 3 draco apps 4096 Apr... (2 Replies)
Hi,
I have a directory /u01/source.
Following are current permission on directory source.
oracle@TEST # ls -l source
drwxrwxrwx 2 user1 userbi 31232 Apr 8 13:33 EG1
drwxrwxrwx 2 user1 userbi 1024 Apr 8 05:45 E2
drwxrwxrwx 2 user1 userbi 57344 Mar 15 10:22 h5
There is another ... (4 Replies)
Hi, I have a directory that needs to be accessed by the members of two groups:
group1 needs rw access
group2 needs only r access
others should have no rights
I must be missing something obvious, but I can't figure out how to do it! Any ideas? (2 Replies)