when I install a package using pkgadd, it correctly installs the binary files with the user name that I want.
However it also changes the permissions of /etc/rc2.d. I don't want this to happen. I want to retain original owner of /etc/rc2.d as it is.
I could see that before installing, the ownership of the directories is assigned to root:
After installing the package, ownership would be changed and becomes the user which is provided at a time of installation.
Here is some code snippet of the prototype file:
I thought the problem is with the above code in prototype file. So I tried changing it to below:
However the problem is still there. It is still changing the existing permissions of /etc and /etc/rc2.d.
Can anyone please give some help pointers?
Last edited by pludi; 10-30-2009 at 07:23 AM..
Reason: code tags, please...
I am using Solaris 10, and trying to keep a number of old Sun
workstations running.
Since version 17 of firefox, I have had problems using pkgadd,
and had to use tar to un-archive the components of firefox.
Is this just a problem with firefox (and probably thunderbird),
or is pkgadd broken (1 Reply)
Hi,
Please could someone help me, understand how pkgadd works within unix.
I have a software file, and I need to package this up and then pkgadd this to another server. Please could some advise me the best way to do this.
regards
venhart (2 Replies)
Morning all,
I am attempting to load a package from a Solaris 8 CDROM.
This fails with the error :
"pkgadd: ERROR: unable to access pkgmap file </cdrom/ .........../SUNWlibC/pkgmap>
No changes were made to the system"
Any help would be appreciated
Andy (6 Replies)
Hi all.
Is there an option to #pkgadd to test if package bundle you want to install requires a reboot?
#pkgadd -d "package bundle" an option like test or a dry run?
Suggestions, anyone? :confused:
Reloader (2 Replies)
I'm trying to install a package and it worked on most of the sun boxes and one of the box is just freezing and not going further. Her is the output.
pkgadd -d packagename.dstream
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) :
Processing... (1 Reply)
I have a server running solaris 8 with veritas 4.1. I am trying to install a package on the server. The package install fails miserably though. I have installed the very same package on other development servers, but for some reason, the install fails on this, soon to be prod, server. No idea... (3 Replies)
Please inform me on how I can resolve the PaTcH_MsG 8 Version message below I am running solaris 9 9/05 HW on a Sun V445. Thank you.
# pkgadd SUNWqlc
Processing package instance <SUNWqlc> from </var/spool/pkg>
Qlogic ISP 2200/2202 Fibre Channel Device Driver
(sparc)... (3 Replies)
is there an option in pkgadd to accept the default option?
I want to use pkgadd in a script and do not want to stop at intercative questions.
thx. (6 Replies)
I have sucessfully installed GNUtar using pkgadd but with some questions:
When I tried to install with pkgadd -d GNUtar (which is the directory of the package) - I received the error "pkgadd: command not found"
Then I tried the same but with pkgadd -d. GNUtar and it installed fine. (found... (4 Replies)