Tuesday, April 26, 2011, 5:45:46 PM, you wrote: > So your code is (mostly) fine, except for the error reported:
> WARNING: Unable to access() local state directory > '/usr/local/ats_218/var/trafficserver': 13, Permission denied > [Apr 26 16:26:06.570] Server {1079999328} WARNING: Please set > 'proxy.config.local_state_dir' to allow statistics collection > This either means we need to adapt the permissions in this directory, > or we need to additionally give CAP_DAC_OVERRIDE. > I'd rather not do the latter. I don't see why. I've been trying to track this down and it makes no sense to me. I added a DebugCapabilities to the permission failure and it reports that the uid/guid is 0/0 and the euid/egid is 65534/65534 (nobody/nogroup), and the capabilities are as expected (CAP_NET_ADMIN and CAP_NET_BIND_SERVICE). The directory is 755, owned by nobody/nogroup. I don't see why permission is denied, unless it's because fsuid is still 0 (which would seem to be a kernel bug). Let me try working with that.