diff options
author | Michael Fenn <fennm@deshawresearch.com> | 2013-06-28 23:56:30 -0400 |
---|---|---|
committer | Michael Fenn <fennm@deshawresearch.com> | 2013-06-28 23:56:30 -0400 |
commit | ab62481b597edcc099811039f7fd60743353d979 (patch) | |
tree | 21cc58e1f1ae1fdd70e7e4330969e9e07150bf87 /solaris-ips/pkginfo.bcfg2-server | |
parent | b5d2421b907d89122b14341e9f00cf4ca8650622 (diff) | |
download | bcfg2-ab62481b597edcc099811039f7fd60743353d979.tar.gz bcfg2-ab62481b597edcc099811039f7fd60743353d979.tar.bz2 bcfg2-ab62481b597edcc099811039f7fd60743353d979.zip |
Info: make builddir add owner write permissions to all files
Since bcfg2-info isn't normally run as root, it can remove write
permissions from itself in certain situations. This patch ensures
that owner write is added to the mode for all files written by
builddir.
For example, suppose a bundle specifies a file /etc/foo/private
with mode 0444. The POSIX tool will create /etc/foo with mode
0555. Any subsequent files that are specified to exist in
/etc/foo will not be created because bcfg2-info will hit a
permission denied error.
Diffstat (limited to 'solaris-ips/pkginfo.bcfg2-server')
0 files changed, 0 insertions, 0 deletions