trafficserver and raw disk access in FreeBSD

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Sun Jul 22 15:03:42 UTC 2012


> Apache Traffic Server may use raw disk for caching, and for privilege
> elevation, the worker process(traffic_server) will setuid to nobody, my
> question is, how to make traffic_server access the /dev/ada*?
>
> in linux, disk permitting is root:disk 0660, we can go with:
> 1, setup a new user 'ats', and put it into 'disk' group
> 2, after setuid, run initgroups() to complete the groups evn.

devfs.conf


More information about the freebsd-hackers mailing list