Security


 
Thread Tools Search this Thread
Operating Systems AIX Security
# 1  
Old 09-28-2008
Security

Hi All

I have a AIX operating system

I have to give file permissions so that the users can update
the file but can't delete it.

Any suggestions please

Thanks
# 2  
Old 09-28-2008
If users have write access to the file they can modify it but you remove the modify access to the directory containing the file they can not remove it. If that is not an option have a look at the sticky bit which prevents users from deleting a file which is not owned by them.
# 3  
Old 09-29-2008
If users are allowed to modify the file they could as well reduce it to a 0-byte-file. What (real) difference would that make to deleting the file entirely?

Bottom line: you don't have to differentiate between deletion and modification and if you trust someone enough to let him modify a file you should not worry about his ability to remove it.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question