1839967 Members
2759 Online
110157 Solutions
New Discussion

swpackage

 
Scott Van Kalken
Esteemed Contributor

swpackage

Hey all,

having trouble with swpackage.

I've created a simple psf file:

distribution
layout_version 1.0

vendor
tag MyCompany
title HelpdeskUtilities
end


product
tag SD
title Helpdesk Utilities
revision 1.0
fileset
tag HelpdeskFiles
title Helpdesk Files
directory /tmp/hdesk=/opt/helpdesk
file *
file -m 444 -o vankas01 -g sys *
end
end


Now the problem is that I keep getting problems when I try to preview the package.

It's got to do with the multiple file selections I'm sure.

* /tmp/hdesk/find_user (/opt/helpdesk/find_user)
* /tmp/hdesk/header (/opt/helpdesk/header)
* /tmp/hdesk/menu (/opt/helpdesk/menu)
* /tmp/hdesk/network (/opt/helpdesk/network)
* /tmp/hdesk/printers (/opt/helpdesk/printers)
* /tmp/hdesk/printersmenu (/opt/helpdesk/printersmenu)
* /tmp/hdesk/spanopen (/opt/helpdesk/spanopen)
* /tmp/hdesk/usersmenu (/opt/helpdesk/usersmenu)
* /tmp/hdesk/wpmenu (/opt/helpdesk/wpmenu)
* /tmp/hdesk/* (/opt/helpdesk/*)
ERROR: Cannot access the source file "/tmp/hdesk/*": No such file or
directory (2).
ERROR: Invalid definition for the fileset "HelpdeskFiles", beginning
at line 14. Details described above. The error(s) must be
corrected before the parsing can continue.
ERROR: Invalid definition for the product "SD", beginning at line 10.
Details described above. The error(s) must be corrected
before the parsing can continue.


It's saying it can't find /opt/helpdesk/* yet it's listing all of the files there.

Any ideas?
1 REPLY 1
Scott Van Kalken
Esteemed Contributor

Re: swpackage

I've figured it out - it's the file permissions line. Must be different when you select multiple files.

Back to the SDUX PDF.