Operating System - HP-UX
1753416 Members
5125 Online
108793 Solutions
New Discussion

read/write permision Issue

 
mousa535
Occasional Contributor

read/write permision Issue

Hi,

 

i want to give 3 users read/write permission on something directory owned by different user and group.

i don't want to add these 3 user to the group owner and i don't want to change ownership or group ship.

 

how to give these 3 user read/write access on /oracle/backup/input  ?

 

test1 , test2, test 3

 

# ll -d

 

drwxrwxrwx   2 dev  ora   96 Dec  4 12:02 /oracle/backup/input

 

Thanks

1 REPLY 1
Patrick Wallek
Honored Contributor

Re: read/write permision Issue

Since the directory already has rwxrwxrwx (777) permissions the test1, test2 and test3 users (and ALL other users) already have read/write access to this directory.

 

Are you looking for an alternative to the 777 permissions?  If so you may want to investigate ACL's.

 

The man pages for getact and setacl would be a good starting spot.