Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Dont change /usr/local owner to root in mac #2252
My exact directory ownership for /usr/local and everything underneath was "scott:admin". After installing wkhtmltopdf /usr/local and several subdirectories (lib, man, share, etc) had their ownership changed to "root:wheel"
The wkhtmltopdf installer should not change ownership of directories.
@scottjacobsen: I don't have or use a Mac, so can you confirm if
If so, can you check if changing
tar xf --no-overwrite-dir $BASEDIR/app.tar
and rebuilding the package does not change the permissions?
No such option. That is the FreeBSD version of tar. [OSX Tar](https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/tar.1.html) I don't see anything in that documentation that really addresses this issue. There are a lot of different tars out there :) Maybe rather than trying to work around all the different versions of tar you could untar to a tmp directory, and then use `cp -r` to copy into place?