can't start mysql56 after move datadir
Brandon Allbery
allbery.b at gmail.com
Fri Feb 13 10:32:28 PST 2015
On Fri, Feb 13, 2015 at 12:10 AM, Murray Eisenberg <
murrayeisenberg at gmail.com> wrote:
> Do I also need to give the group _mysql read permission to some or all of
> /Volumes, /Volumes/MacHD, /Volumes/MacHD/Users,
> /Volumes/MacHD/Users/thisuser, /Volumes/MacHD/Users/thisuser/mysql ?
>
> If so, might that be dangerous?
>
While I'm at it: the above is really why most people put the database in
some other path than their home directory and don't try to fight with ACLs.
As for why you need to grant search permission to reach the database files:
you were expecting the system somehow "just knows" that _mysql is allowed
to follow that path? That the files at the end of it are owned by someone
else is not relevant; consider that you may make a symlink to someone
else's file. Or a hard link if it's on the same partition/filesystem. On OS
X you can even make a hard link to a directory, making it even more
complicated.
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150213/82d20385/attachment.html>
More information about the macports-users
mailing list