Operating System - HP-UX
1833907 Members
9060 Online
110063 Solutions
New Discussion

how come the directory is not removed after swremove

 
Hanry Zhou
Super Advisor

how come the directory is not removed after swremove

Hi,

I created my own depot, but the issue is after I run swremove to remove the depot, the directory and it subdirectories are all not removed, but all files underneath the directory and it's subdiretories are removed. The entire files/directories are created by swinstall , and specified in my .psf.

I know I can have a postremove script to remove the directory, but I expect swremove would do that for me.
Is it should be removed as swremove running?

none
1 REPLY 1
Hanry Zhou
Super Advisor

Re: how come the directory is not removed after swremove

Here is the portion of .psf file:

...
fileset
tag...
title...
revison ...
directory /x/y/z=/x/y/z
file_permissions -u 222 -g sys -o root
file *
end
...

I probably need to add some directives with regards those sub-directories, but how?
none