- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Install package (pcd.psf) installs with incorrect ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 03:33 AM
тАО11-30-2006 03:33 AM
Install package (pcd.psf) installs with incorrect ownership of symlink
file libexample.sl libexample.sl
file_permissions -m 0777 -o id1 -g id1
directory /bld/hp/usr/lib/ = /usr/lib/
Any insight would be appreciated. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2007 04:54 PM
тАО08-18-2007 04:54 PM
Re: Install package (pcd.psf) installs with incorrect ownership of symlink
The proper way to do this is for files in /usr/lib/ to have the ID of bin:bin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 01:50 AM
тАО08-20-2007 01:50 AM
Re: Install package (pcd.psf) installs with incorrect ownership of symlink
I create id1 in the preinstall script. I am not sure I made this clear in my earlier post, but this worked in the past on HP 11.00. I believe HP supplied a patch at some point to HP 11.00 that caused my installation program to start assigning my symbolic links incorrectly. Note: it does assign my files and directories correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 02:14 AM
тАО08-20-2007 02:14 AM
Re: Install package (pcd.psf) installs with incorrect ownership of symlink
With the number 300? What do you do if it exists?
>I believe HP supplied a patch at some point to HP 11.00 that caused my installation program to start assigning my symbolic links incorrectly.
By incorrectly, you mean as 300? And not the number associated with the new id1?
I'll have to look into an IPD to see what is recorded.
>Note: it does assign my files and directories correctly.
I recently had to work on a problem where symlinks in 11.23 /usr/lib/hpux??/ were the same numbers we used to manufacture it, not bin:bin. I assumed this was a missing chown before we called swpackage. I don't think we use the fancy-smancy file_permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 07:15 PM
тАО08-20-2007 07:15 PM
Re: Install package (pcd.psf) installs with incorrect ownership of symlink
The IPD seems to record both the numeric ID and the string:
uid 2
gid 2
owner bin
group bin
So there is enough info to do what you want. It seems it should:
http://docs.hp.com/en/5992-2146/ch10s04.html#bajbhcdf
-o [owner[,]][uid]
During an installation, the owner attribute is used to set the owner name and uid, unless the owner name is not specified or is not defined in the target system├в s /etc/passwd file. In this case, the uid attribute is used to set the uid.
You could check what's in your depot's fileset's INFO file. This is for ACXX.ACXX-STDLIB:
/var/adm/sw/products/ACXX.2/ACXX-STDLIB/INFO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 12:55 AM
тАО08-21-2007 12:55 AM
Re: Install package (pcd.psf) installs with incorrect ownership of symlink
Thanks again for the help.
My INFO file contains the the following:
file
path /usr/bin/pdadmin
type s
size 31
mode 0777
uid 300
gid 300
owner ivmgr
group ivmgr
mtime 1186424697
link_source /opt/PolicyDirector/bin/pdadmin
As you can see it stored the symbolic name for owner and group.
The following is the target definition (file it points to) for the symbolic link. It does correctly set the owner and group.
file
path /opt/PolicyDirector/bin/pdadmin
type f
size 1977508
cksum 3456559458
mode 0555
uid 300
gid 300
owner ivmgr
group ivmgr
mtime 1186423420
Since I first posted this entry in the forum, I had a problem report opened on behalf of our mutual customer.