[email protected] wrote:
Also, the postinstall script changes the group and permissions on
some files. Again, how would we achieve this? In the manifest (using
on_ips repository), I removed the "preserve=true" and the file group
and permissions changed. Liane mentions that the code bails out
before setting the mode and groups if "preserve=true". Is this
intentional? Am I doing it correctly by removing the "preserve=true"
for the files that I want to change group and permissions?
What does your user action look like and what package is delivering
it?
In usr/src/pkg/manifests/SUNWcnetr.manifest, I added
group groupname=netadm gid=65
user username=dladm uid=13 group=netadm gcos-field="Datalink
Admin" home-dir=/ ftpuser=true
user username=netadm uid=16 group=netadm gcos-field="Network
Admin" home-dir=/ ftpuser=true
user username=netcfg uid=17 group=netadm gcos-field="Network
Configuration Admin" home-dir=/ ftpuser=true
The netadm group and the netadm and netcfg users were create fine.
Since "dladm" previously wasn't delivered as a user action, there may
be an issue with changing it now. For example, you may be running into
a bug similar to
9755 user action doesn't cause change if home directory changes
It does appear to be the same issue - changing property of a user that
already exists. Can the severity of this bug be bumped up?
Thank,s
Anurag
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss