Login  Register

Re: Permission to only one directory

Posted by satish on Aug 28, 2021; 3:14am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Permission-to-only-one-directory-tp10155p10180.html

Hi erman,

Below is actual requirement.

Directory:
=========

[applsupp@erpsupport ~]$ echo  $XXTTD_TOP/bin
/u01/SUPPDBAPPS/fs1/EBSapps/appl/xxttd/12.0.0/bin
[applsupp@erpsupport ~]$ ls -ld /u01/SUPPDBAPPS/fs1/EBSapps/appl/xxttd/12.0.0/bin
drwxr-xr-x 2 applsupp dba 12288 Aug 26 18:26 /u01/SUPPDBAPPS/fs1/EBSapps/appl/xxttd/12.0.0/bin
[applsupp@erpsupport ~]$



creation of user:
=================

[root@erpsupport ~]# groupadd client
[root@erpsupport ~]# useradd -G client client_file
[root@erpsupport ~]# passwd client_file


[root@erpsupport ~]# su - client_file
[client_file@erpsupport ~]$ pwd
/home/client_file
[client_file@erpsupport ~]$ cd /u01/SUPPDBAPPS/fs1/EBSapps/appl/xxttd/12.0.0/bin
[client_file@erpsupport bin]$ pwd
/u01/SUPPDBAPPS/fs1/EBSapps/appl/xxttd/12.0.0/bin
[client_file@erpsupport bin]$ ls
XXTBR_TEMPLE_ITEMS_BOM
...
....

Currently,client_user has only read and execute privilege on this directory but when he tried to copy some file to this location,user gets permission denied.

cp: cannot create regular file ‘aaaaaaaa.txt’: Permission denied

Our concern is,without changing any permissions on directory,is it possible to assign write permission on that directory to client_user?


Thank you