Operating System - HP-UX
1756066 Members
5047 Online
108840 Solutions
New Discussion юеВ

+ sign in the file permission characters

 
S.C. Fun
Advisor

+ sign in the file permission characters

Hi,
I have this output from a workstation:

/test/optfun # mount -v
/dev/vg00/lvol3 on / type vxfs log on Thu Nov 22 12:40:38 2001
/dev/vg00/lvol1 on /stand type hfs defaults on Thu Nov 22 12:40:40 2001
/dev/vg00/lvol8 on /var type vxfs delaylog on Thu Nov 22 12:40:45 2001
/dev/vg00/lvol7 on /usr type vxfs delaylog on Thu Nov 22 12:40:45 2001
/dev/vg00/lvol6 on /tmp type vxfs delaylog on Thu Nov 22 12:40:45 2001
/dev/vg00/lvol5 on /opt type vxfs delaylog on Thu Nov 22 12:40:45 2001
/dev/vg00/lvol4 on /home type vxfs delaylog on Thu Nov 22 12:40:45 2001
osaka:/opt/fun on /test/optfun type nfs defaults,NFSv3 on Wed Nov 28 12:47:45 20
01
/test/optfun # ll
total 164
-rwxr-xr-x 1 root sys 20537 Nov 28 12:28 melt
-rwxr-xr-x 1 root sys 61644 Nov 28 12:28 xroach
/test/optfun # chmod 777 melt xroach
chmod: can't change melt: Read-only file system
chmod: can't change xroach: Read-only file system
/test/optfun # ll
total 164
-rwxr-xr-x+ 1 root sys 20537 Nov 28 12:28 melt
-rwxr-xr-x+ 1 root sys 61644 Nov 28 12:28 xroac

What is the meanings of + at the end of the permission access for the files? TQ
5 REPLIES 5
Deepak Extross
Honored Contributor

Re: + sign in the file permission characters

From the man page of ll:
"If a file has optional ACL entries, the -l (ell) option displays a plus sign (+) after the file's permissions. The permissions shown are a summary representation of the file's access control list, as
returned by stat() in the st_mode field (see stat(2))."
S.C. Fun
Advisor

Re: + sign in the file permission characters

but why the + sign disappeared after a while even I've not done anything to the files?
eran maor
Honored Contributor

Re: + sign in the file permission characters

Hi

this is a know issue in hp-ux .

i will check the patch PHCO_20031 - s700_800 11.00 Enhance ls(1) to work with JFS ACLs

1. see that he is install correct - check it with swlist -l fileset -a state
to see if he is in the state of config .

2. see that you have all dep of the patch
PHCO_20031 1.0 Enhance ls(1) to work with JFS ACLs.
PHCO_23651 1.0 fsck_vxfs(1M) cumulative patch
PHCO_23876 1.0 cumulative SAM/ObAM patch
PHCO_23963 1.0 libc cumulative header file patch
PHCO_24723 1.0 libc cumulative patch
PHKL_18543 1.0 PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch
PHKL_20016 1.0 2nd CPU not recognized in G70/H70/I70
PHKL_22677 1.0 fix of getdirentries, MVFS, rcp, mmap & IDS
PHKL_23226 1.0 syscall, msem_lock, umask cumulative patch
PHKL_24027 1.0 VxFS 3.1 comulative patch
PHKL_25475 1.0 PM cumulative patch
PHKL_25525 1.0 Probe,IDDS,PM,VM,PA-8700,asyncio,T600,FS

this is for hp-ux 11.00 but if you are working with 10.20 do the same .
love computers
S.C. Fun
Advisor

Re: + sign in the file permission characters

Hi eran,
I have the output from swlist like this:

# PHCO_20031
PHCO_20031.UX-CORE configured
# PHKL_18543
PHKL_18543.C-INC configured
PHKL_18543.CORE-KRN configured
PHKL_18543.CORE2-KRN configured
PHKL_18543.KERN2-RUN configured
PHKL_18543.VXFS-ADV-KRN configured
PHKL_18543.VXFS-BASE-KRN configured
PHKL_18543.VXFS-PRG configured
# PHKL_20016
PHKL_20016.CORE2-KRN configured

some of the patches you mentioned are not there, do you mean I have to apply them all to get rid of it? what command is used to display details of ACL in JFS? tq.
eran maor
Honored Contributor

Re: + sign in the file permission characters

Hi

Yep , you need all the patches that i gave because all the patches are the dep. of the patch of the ACL .

i solve 3 cases like this and it is in all the cases the same , that not all the dep. of the ACL patches are install .

try it .
love computers