On 03/05/12 03:49, Tim Foster wrote:
You're right, sorry - I was led astray by the creative use of
'dir.find' there. Any reason why you didn't use 'dir == foo' rather
than 'dir.find(foo)'?
I will do check as you have suggested.
Also, rather than relying on the user and group of the parent
directories of the cache_dir being set correctly, it's probably better
to use the 'SYSREPO_USER' and 'SYSREPO_GROUP' globals - see line 497
for an example.
The SYSREPO_GROUP is initialized as 'pkg5srv'. As per manifest the gid for
cache directory is 'bin'. Therefore I took the route of setting user and
group as per
parent directory of cache directory. Is it okay to set group as
'pkg5srv' for cache
directory ? Or is initializing of SYSREPO_GROUP incorrect ? Please let
me know.
Thanks,
Abhi.
cheers,
tim
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
--
Oracle
Abhinandan Ekande
Solaris Install,
Revenue Product Engineering (RPE), Systems
Phone: +91 8041847267 | Fax: +91 80 22231794 | Mobile: +91 9632144088
ORACLE India | Off Langford Road | Bangalore | 560025
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to
developing practices and products that help protect the environment
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss