Re: Usage of dpkg under cygwin
> > Aside, if tar under cygwin treats uid 500 as privileged and lets
> > create tar archives containing files with privileged privileges,
> > the thing to do would be to patch debhelper (what dh_testroot is a
> > of) to check for the possibility uid 500 on cygwin as passing the
> > check.
> Someone (I don't have time - sorry) needs to check cygwin tar. If
> tar hasn't been patched in that fashion, then it need to be - what it
> needs to check is if the current user can enable the '<review NT
> here> process token'. Thats a capability based check, rather than a
> check, and as such is more flexible without sacrificing security.
I will look into this next week at work (on my lunch break:) )
Really the point is this :
If you dont have permissions under winnt, cygwin wont give them to you!
if you have the permissions, then cygwin can try, but wont be able to
take them away for very long.
I mean lets be serious here, what are we trying to do:
make sure someone does not install a package as non-admin? what about a
make sure someone does not overwrite the cygwin /usr/bin directory with
garbage? If they have write access, they can delete it.
make sure someone does not have the wrong uids in the tar file when
they build a debian GNU/Linux package with the cross compiler under
James Michael DuPont
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More