Closed rockpapergoat closed 12 years ago
it seems like the way to resolve this is to redefine l_root as:
l_root: package_root @sudo mkdir -p ${WORK_D} @sudo chmod 755 ${WORK_D} @sudo chown root:wheel ${WORK_D}
that builds without errors. i don't know if it would be worth merging in that change.
Changed to root:wheel in 8ab05689c787bd92187e345dd1f1b029354830b9
i'm probably missing something here, but i'm getting incorrect group ownership on /private/var/db for an example here. the pkg builds and installs fine, but the os is picky about ownership here. i don't see any lines in luggage.make that set ownership to root:admin for this path, yet they are at build time. example:
this makefile drops admin account and group plists under dslocal: https://gist.github.com/1676696
ownership looks fine to me in the makefile. it matches what's on disk.
building results in this:
Warning: Group ID 80 does not match 0 of root volume for "/private". Make sure to have disk permissions repaired with Disk Utility. Warning: Group ID 80 does not match 0 of root volume for "/private/var". Make sure to have disk permissions repaired with Disk Utility. Warning: Group ID 80 does not match 0 of root volume for "/private/var/db". Make sure to have disk permissions repaired with Disk Utility.
ownership under pkgroot confirms this. i don't see where this ownership gets set. i'm using the latest luggage pulled straight from the repo.
any ideas?
it's an issue because it causes stalls or just plain failure to boot without fixing the ownership on a newly imaged box.