[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Usage of dpkg under cygwin



--- Paul Baker <pbaker@where2getit.com> wrote:
> 
> On Monday, October 14, 2002, at 02:43 PM, Claes Wallin wrote:
> 
> >>> I looked into it, and tar actually supports --owner <uid> and
> >>> --group <gid>. They're just not documented on the man page. And
> >>
> >
> > No, symlinks are fine. I was referring to device nodes. But in
> cygwin's
> > case, they're not interesting anyway, so.. yeah. Rebuild the
> scripts to
> > use tar's --owner and --group switches, and you can get rid of 
> > fakeroot.
> 
> Files are not necessarily owned by root or under the group of root. 
> They may need to be under the www-data user, mysql user, or games 
> group, or utmp group, or other things of that sort. And most likely
> it 
> is specific to each file, not the whole archive as a whole. Unless
> you 
> can use --owner and --group to specify the permissions for each 
> individual file, it doesn't solve the problem either.

You can extract idividual files with tar, I imagine that you can set
the bits as they go. The adding of files is easier, and I can imagine
the ids can be set and stored as well.

I can imagine a simple tool to dump out the permissions of a tar file
and read them back in.

In any case, less work than getting fakeroot runnning.

mike

=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com



Reply to: