Date: Sun, 22 Jul 2012 21:24:01 +0800 From: "ming.zym@gmail.com" <ming.zym@gmail.com> To: "hackers@FreeBSD.org" <hackers@FreeBSD.org> Subject: trafficserver and raw disk access in FreeBSD Message-ID: <1342963441.4162.8.camel@zym6400>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlAL/vEACgkQQBjU8JUwVz6OfwEAhzFapWvHyC1ResMhcDLiY1ck 1PusKENuhqN60tyMiCcA+gO7ON0HPS1MLgJ6EsN9sUnZRQeZFvX/IeI+iRHPsdVT =8D/m -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1342963441.4162.8.camel>
