1832242 Members
2932 Online
110041 Solutions
New Discussion

Re: File permissions

 
V V Durga Prasad
Occasional Contributor

File permissions

Hi,

ls -l command on my server is showing like
drwxrwxrwx+ 46 root sys 1024 Apr 22 22:34 opt
dr-xr-xr-x+ 12 bin bin 3072 Apr 22 16:49 sbin
drwxr-xr-x+ 28 root sys 2048 Apr 19 17:52 var

Can some one tell me how to get rid of the '+' sign after the access permissions?

Since yesterday, every thing is fine. Yesterday, I have installed about 15 patches viz.
PHKL_20165
PHKL_21210
PHKL_21678
PHKL_22494
PHKL_22589
PHKL_22759
PHKL_22777
PHKL_22856
PHKL_22975
PHKL_22976
PHKL_22986
PHKL_23002
PHKL_23127
PHKL_23180
PHKL_23813
Is this because of any one of these patches?
6 REPLIES 6
Paula J Frazer-Campbell
Honored Contributor

Re: File permissions

Hi

Check here :-


http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x993b7b8d1de3d5118ff40090279cd0f9,00.html



HTH

Paula
If you can spell SysAdmin then you is one - anon
Deepak Extross
Honored Contributor

Re: File permissions

The '+' is to do with ACLs.
Its quite harmless, you can ignore it.
See the section "Access Control Lists" in the man page of 'ls' for details.
Victor_5
Trusted Contributor

Re: File permissions

"+" means ACL, for security reason, if you really want to remove it, use setacl, getacl, man them for more.

hari jayaram_1
Frequent Advisor

Re: File permissions

durga,

I had faced this problem last year and it becomes real painful. You cannot use any of the ACL commands. It is definetly due to one of the kernel patches. The kernel patch activates JFS acl calls. If I remember right the patch which I removed was PHKL_22677. However please create a recovery tape before removing this patch if you have it.

Thanks

Regards

Hari
Mohammad Iqbal_1
Occasional Advisor

Re: File permissions

The '+' sign represents the ACL (Access Control List) of a file. We use it to control the permission and access of a file. chmod command is file oriented, whereas ACL is user oriented.
Only HFS file system can be managed through ACL. For vxfs file system, we need to install a product, such as jfs.3.3.

The example (for HFS):
# lsacl /home/user1/file1
this command used to see the file1's ACL
# chacl 'user2.%=rw' file1
we use this command to change file1's ACL, so use2 from any group can read/write to this file.
Please see another documentation for further information.



Iqbal "the Captain"
V V Durga Prasad
Occasional Contributor

Re: File permissions

Hi Paula,

I have followed the link you have suggested and have installed all the patches suggested over there. Unfortunately, the porblem still exists. Strangely, this time, the ls -l command is showing + sign sometimes and sometimes not..!!!

Durga