Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2006 15:45:18 +0200
From:      "No@SPAM@mgEDV.net" <nospam@mgedv.net>
To:        <freebsd-questions@freebsd.org>
Subject:   pkg_create: directory-permissions: bug or feature?
Message-ID:  <000001c66ac9$fd043540$dededede@avalon.lan>

next in thread | raw e-mail | index | archive | help

hi,

the packaging-system (pkg_create, pkg_add) uses the tar
file format for creating/installing packages and some
special files inside the tar.
everything is really fine for me, except the handling
of directories, especially if they're empty! these dir's
never get installed!
if they're not empty, their modes/owners are not being
taken care of and they get installed with the values from
the current user (mostly root) and the current umask.

because of any packaging getting really weird, it does not
make sense to issue hundreds of @mode or @exec chown commands
inside the packing-list. also, i know it's possible to write
install-scripts for everything which also changes the
permissions after installing, but if the stage is setup
correctly, why take care for this twice?

can someone explain, why file-owners/modes, which are set
inside the tarballs are being extracted correctly, and the
directories not?

br & cu...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c66ac9$fd043540$dededede>