[csw-users] /var/pkg-get permissions (was Problem installing the common package)

Doofus doofus at bulldoghome.com
Fri Aug 26 16:47:07 CEST 2005


Doofus wrote:

>Further to Dennis' reply o John regarding /var/pkg-get, I have a weird 
>problem I can't get to the bottom of.
>
>At home, hunky dory:
>
>$ ls -lap /var/pkg-get
>total 392
>drwxr-xr-x   3 root     bin          512 Aug 24 16:38 ./
>drwxr-xr-x  44 root     sys         1024 Aug  8 18:15 ../
>-rwxr-xr-x   1 root     bin          468 Mar 16  2002 admin-fullauto
>-rw-r--r--   1 root     root      130205 Aug 24 16:38 catalog-opt
>-rw-r--r--   1 root     root       56620 Aug 24 16:38 desc-disk2
>drwxr-xr-x   3 root     root        1024 Aug 25 17:33 downloads/
>
>
>
>At work:
>
>$ ls -lap /var/pkg-get
>total 392
>drwxr-xr-x   3 root     bin          512 Aug 24 16:38 ./
>drwxr-xr-x  44 root     sys         1024 Aug  8 18:15 ../
>-rwxr-xr-x   1 root     bin          468 Mar 16  2002 admin-fullauto
>-rw-r--r--   1 root     root      130205 Aug 24 16:38 catalog-opt
>-rw-r-----   1 root     root       56620 Aug 24 16:38 desc-disk2
>drwxr-xr-x   3 root     root        1024 Aug 25 17:33 downloads/
>
>
>...which means a user can't `pkg-get -D`. Hardly a show-stopper but I 
>have no idea why it's happening. To get the binaries to the lab I keep 
>an rsync of sparc 5.8 unstable at home and weekly `tar cvf /dev/rmt/0 
>.`  where "." is /disk2, and then untar it onto the same mount point on 
>the work machine. Any idea what's happening here?
>
>This procedure would me a lot more efficient if  rsync supported tape 
>drives.
>

I guess the method of my getting the binaries to the lab machine is 
probably irrelevant to the problem, and I should also have said that if 
I delete /var/pkg-get/* and then run pkg-get -U, I still wind up with 
mode 640 on the description file.



More information about the users mailing list