trafficserver and raw disk access in FreeBSD
ming.zym at gmail.com
ming.zym at gmail.com
Sun Jul 22 13:24:08 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.
we need a safe and easy to implement way for raw disk access in
FreeBSD.
thanks for you help
--
zym, Zhao Yongming.
aka: yonghao @ taobao.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20120722/4b823261/attachment.pgp
More information about the freebsd-hackers
mailing list