On Fri, Feb 13, 2015 at 12:10 AM, Murray Eisenberg <
[email protected]> 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
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to