logo       


Re: Usage of dpkg under cygwin: msg#00037

Subject: Re: Usage of dpkg under cygwin
> > Aside, if tar under cygwin treats uid 500 as privileged and lets
> you 
> > create tar archives containing files with privileged privileges,
> then 
> > the thing to do would be to patch debhelper (what dh_testroot is a
> part 
> > of) to check for the possibility uid 500 on cygwin as passing the
> root 
> > check.
> 
> Someone (I don't have time - sorry) needs to check cygwin tar. If
> cygwin
> 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
> rights
> here> process token'. Thats a capability based check, rather than a
> uid
> 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
local install.

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
windows 95? 

mike


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

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




Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe