cancel
Showing results for 
Search instead for 
Did you mean: 

Acl permission

 
SOLVED
Go to solution
himacs
Super Advisor

Acl permission


Hi Admins,

i have to provide acl permission to a normal user for zipping the files.

Please guide me what permission i have to give..
rwx or r-x ?

plz guide me


regards
himacs
4 REPLIES
Matti_Kurkela
Honored Contributor
Solution

Re: Acl permission

To zip some files, the user needs two things:

- the permission to _read_ the files s/he is going to zip (r-- for the files, r-x for directories containing the files)

- the permission to _write_ the zip archive to some directory (rwx for that directory only)

If the user intends to delete the original files after creating the zip archive, write access to the directories containing the original files (rwx) is needed. Write access to the files is not needed: write access to the directory is enough to delete the files inside it.
(Exception: if chmod +t is used on the directory, the user must be the owner of the files, or s/he cannot delete them.)

MK
MK
himacs
Super Advisor

Re: Acl permission

Hi Matti,

Thanx for the response.

Actually i had tested in server with r-x permission normal user can zip the file.

Let me explain the scenario..

I have to set acl permission to a normal user on a folder, so that they can zip the files inside that folder.

Now my Q is if any new files created inside that folder ,that user can zip the new files?

My requirement is a normal user should be able to zip the files inside a folder where acl permision set..


plz guide
himacs


Matti_Kurkela
Honored Contributor

Re: Acl permission

Maybe. What kind of ACL did you set?
(Please show the getacl output.)

MK
MK
Suraj K Sankari
Honored Contributor

Re: Acl permission

Hi,
By defualt a normal user can zip his own files with these commands

pack/unpack
compress/uncompress
zip/unzip

Suraj