Operating System - HP-UX
1752579 Members
3119 Online
108788 Solutions
New Discussion юеВ

Changing Permissions using PSF file

 
SOLVED
Go to solution
Vasudevan MV
Frequent Advisor

Changing Permissions using PSF file

Hi,

How to change directory permissions using PSF file?

Vasu
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: Changing Permissions using PSF file


Are talking about Photoshop files? Python maybe? You need to be more clear.

live free or die
harry
Live Free or Die
Vasudevan MV
Frequent Advisor

Re: Changing Permissions using PSF file

Hi,

I have created a HP-UX 11.0 fileset/package which will install some files on the servers. I am able to change those file permissions through PSF file (Control scripts)

e.g file_permissions -o root -g sys -m 755

but not the directory permission. How can I change directory permission through PSF file?.

Thanks in advance
Vasu
Tom Geudens
Honored Contributor
Solution

Re: Changing Permissions using PSF file

Hi Vasu,
If I remember correctly directories are treated as files in a Product Specification File. Use the file_permissions or the file specification itself to set things right.
Example :
file -m 755 -o root -g sys -t d /SD/BIN

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Vincent Stedema
Esteemed Contributor

Re: Changing Permissions using PSF file

Vasu,

Tom is right. More information can be found in the man page for swpackage(4).

Regards,

Vincent