HP Software Package Builder (SPB) manual Validating a PSF, To set file or directory permissions

Page 38

Getting Started with Software Package Builder

Getting Started Using the SPB GUI

Step 4.

Step 5.

Step 6.

Step 1.

Step 2.

Step 3.

Step 4.

TIP

NOTE

Click Add. The directory or file(s) are added to the selected directory in the Destination Filesystem.

Repeat this process until you have mapped all the appropriate source files to the Destination Filesystem.

From the Destination Filesystem, select the directory you want to map files into.

To set file (or directory) permissions

Select the appropriate file (or directory) from the Destination Filesystem.

From the File Attributes table (or Directory Attributes table), click in the Mode field.

Select the mode appropriate for your file (or directory).

Once you have set all desired file permissions, click OK to exit and return to the main window.

You can apply a common mode across a select group of files in the File Attributes table by right-clicking in a Mode field and selecting Apply to All.

SPB by default assigns the file mode access for a destination file or directory by inheriting the setting from the original source. If you wish to accept the default settings, you need not do anything.

Validating a PSF

Within SPB, validation occurs when you:

Open an existing PSF

Enter data

38

Chapter 4

Image 38
Contents Edition Manufacturing Part Number DecemberCopyright Notice WarrantyGovernment License Trademark NoticesPublication History Typographic Conventions Contents Glossary Index Introduction to Software Software Package Builder Overview FeaturesFeatures Benefits Software Package Builder and HP-UX Software DistributorSoftware Package Builder Overview Optimizing Java To access Java configuration informationSystem Requirements To download SPB from the Web Installation OverviewInstallation Starting Software Package Builder Specifying Packaging Policy Rules FilePage Software Packaging Software Packaging Overview Software Packaging Lifecycle Software Packaging LifecycleSoftware packaging lifecycle is displayed in Figure TIP Software Package Structure Organizing FilesystemsSoftware Elements Software Package Structure Software Package Hierarchy Software Package HierarchyStructural Elements Functions and Relationships Structural Function Relationship ElementSoftware Package Structure Product Specification File AttributesRecommended Attribute Values Required Attribute ValuesSoftware Element Required Attribute Software Element Recommended AttributePackaging Policies Page Software Package Builder Introduction Attribute Table Screen RegionsPackage Structure PSF View Messages TabPolicy Help Tab Additional Information MenusTool Bar Page Getting Started with Software To create a PSF Getting Started Using the SPB GUICreating a New PSF To create a product and add filesetsTo create a destination filesystem Managing Fileset ContentStep From the Structure menu, select Add Elements Files Step Click Add DirectoryValidating a PSF To set file or directory permissionsTo set attributes Setting AttributesTo filter the attribute display You enter new data into the PSF, SPB re-validates the file Validating from the CLI Using the SPB Command Line InterfaceEditing from the CLI ExampleIncorporating SPB into Automated Processes Return ValuesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box File Mapping Using Advanced FeaturesRegions OptionsTo set the recursive option Setting FileMapping Options To set the file * or include option Add Mode field of the Directory Attributes and File AttributesFile Mode Access PermissionsAttributes table To apply a mode to all filesStep Select Apply to All Permissions Selections To change the default representation of the Mode fieldStep Select the Advanced Options button Managing Fileset Content Subproduct Creating and Using a SubproductTo create a subproduct Creating and Using a Bundle To create a bundleAttribute Table Creating and Using a Vendor or CategoryTo add a vendor or category To edit a vendor defined attribute Creating and Using Vendor Defined AttributesTo create a vendor defined attribute AttributesDependency Attributes Overview of Software Specification AttributesSoftware Specification Attributes Software SpecificationsResolving SPBSPB will not Software Specification StatusWorking with Dependency Attributes To add a dependency attribute using the and relationship Click Add Set To add a dependency attribute using the or relationshipSelect Structure Add Elements Corequisites Click AddStep Select Structure Add Elements Corequisites To add remote content as a dependency attributeClick Add Content Using Control Scripts Using Control Scripts Additional Information Page Glossary GlossaryMultiple architecture Optional attribute Tag Unconfigure script Unconfigure script Glossary Index Software elements, 20 bundle, 21 category Index