Operating System - HP-UX
1838679 Members
3746 Online
110128 Solutions
New Discussion

How install ACL fonctions

 
SOLVED
Go to solution
GRANDIERE
Frequent Advisor

How install ACL fonctions

Hello,

On some of my servers i can use setacl et getacl fonctions. But on some others, i can't. How can i install theses fonctions on that last servers ?

Thanks for help.

Dahu
6 REPLIES 6
Simon Hargrave
Honored Contributor
Solution

Re: How install ACL fonctions

The setacl command is delivered with the core JFS package. Try this command on your servers: -

# swlist -l JFS.VXFS-BASE-RUN

Chances are either: -

- You don't have this installed on your server for some reason.
- You are trying to set ACLs on a filesystem that doesn't support them. (eg HFS instead of VXFS).
RAC_1
Honored Contributor

Re: How install ACL fonctions

The vxfs version needs to be at least 4 for it. Check it.

swlist -l product | grep jfs.
fstyp -v /dev/vgxx/lvolx

Anil
There is no substitute to HARDWORK
DCE
Honored Contributor

Re: How install ACL fonctions

You might try lsacl and chacl. These preceded the setacl and getacl commands

Dave
Senthil Kumar .A_1
Honored Contributor

Re: How install ACL fonctions

Hi Dahu,

Please make sure u are dealing with right version of JFS.

HFS - supports ACL's
JFS 3.0 - doesnot support ACL's
JFS 3.5 and upward - support ACL's

use 'swlist -l product | grep vxfs' to check the version of the JFS u are dealing with..

Regards
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
GRANDIERE
Frequent Advisor

Re: How install ACL fonctions

With the commande setacl, i would like to use the -R option in order to put my acl on all subdirectoties.

This option does'nt work !

Thanks for help.

Dahu
GRANDIERE
Frequent Advisor

Re: How install ACL fonctions

To close the thread.
Thanks.