cvs commit: src/usr.sbin/pkg_install/lib url.c

Ruslan Ermilov ru at
Tue Mar 6 14:54:45 UTC 2007

ru          2007-03-06 14:54:45 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/pkg_install/lib url.c 
  Invoke tar(1) with the -p option when installing a package
  from an URL (i.e., do it the same way as when installing
  from a file).  This fixes the lossage of the setuid bits.
  It wasn't a problem before because GNU tar(1) implied the
  -p option for root, but BSD tar(1) doesn't do that.
  Discussed with: tobez and some advanced users :)
  Revision  Changes    Path
  1.8       +2 -2      src/usr.sbin/pkg_install/lib/url.c

More information about the cvs-src mailing list