1833004 Members
2986 Online
110048 Solutions
New Discussion

File Permission

 
Kurt Beyers.
Honored Contributor

File Permission

Hi,

I've had something strange with file permissions (OS = HP-UX 11.0). When I do a 'ls -l', all the file permissions end with a '+'.So I've created a new file 'test' to see if it had the same behaviour.

When I do a 'ls -l test', the permissions are rw-r--r-- so that is normal.

However when I do 'ls -l | grep test', the permissions are rw-r--r--+. What does the + mean?

I've got the same behaviour for every file on the server. I'm quit curious for the reason.

Thanks,
Kurt

4 REPLIES 4
Victor_5
Trusted Contributor

Re: File Permission

It is ACL. ACL are a key enforcement mechanism of discretionary access control, for specifying access to files by users and groups more selectively than traditional HP-UX mechanisms allow. Man ls, acl.

Also check your umask.

Kurt Beyers.
Honored Contributor

Re: File Permission

Thanks, can the ACL be enabled/disabled?
Wodisch
Honored Contributor

Re: File Permission

Hi,

depending on your file-system type and version the commands are:
- lsacl
- chacl
- getacl
- setacl

HTH,
Wodisch
Kurt Beyers.
Honored Contributor

Re: File Permission

OK I've got it. The trailing + indicates that ACL has been set for the files. However, we didn't do this, so I'll have to update the patches.

Kurt