Levi,
It looks like you found a bug in ezipupd.lrp.  More below...

Bering Crew,
Is the information below accurate?  If so, can you update the
package?

Earlier this week Levi wrote:

> > As soon as I install ezipupdate, inetd no
> > longer fires off the sh-httpd process, and subsequently, no longer
> > generating the weblet pages.

On Fri, 06 Dec 2002 00:07:52 CST Levi wrote:

> Well, I at least found the problem--whenever ezipupd loads, the permissions
> and ownership changes from this:
> 
> drwxr-xr-x   16 root     root           0 Dec  5 22:15 .
> drwxr-xr-x   16 root     root           0 Dec  5 22:15 ..
> drwxr-xr-x   22 root     root           0 Dec  5 22:15 etc
> drwxr-xr-x    7 root     root           0 Dec  5 22:14 usr
> drwxr-xr-x   10 root     root           0 Dec  5 22:15 var
> 
> to this:
> 
> drwx------   16 501      501            0 May 19  2002 .
> drwx------   16 501      501            0 May 19  2002 ..
> drwxr-xr-x   22 501      501            0 Dec  5 21:56 etc
> drwxr-xr-x    7 501      501            0 May 19  2002 usr
> drwxr-xr-x   10 501      501            0 May 19  2002 var
> 
> Note the 501's for the user and group.  These must have been stored when
> ez-ipupd was packaged.

Yes, they were:

  brad@lab:~$ tar --numeric-owner -tvzf /tmp/ezipupd.lrp  | head -n 3
  drwx------ 501/501           0 2002-05-19 03:24:01 ./
  drwxr-xr-x 501/501           0 2002-05-19 01:38:23 ./usr/
  drwxr-xr-x 501/501           0 2002-05-19 01:38:23 ./usr/bin/

(501/501 on packaging host is leaf/leaf.)

> By simply chmod 755 'ing and chown root.root 'ing
> the modified dirs, the weblet once again runs.
> 
> By backing up the packages after fixing the permissions weblet
> functions normally after a restart.
> 
> Is this a bug, by design, or something that is just not documented?

Probably a packaging bug.

> Is my  solution, changing the permissions by hand, valid?

Yes.

> Or is there a better way to handle this?

Yes.  The package should probably be recreated with UID/GID 0/0.

Good catch, Levi.

--Brad



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to