Only root user can access /proc/user_beancounters
Closed this issue · 4 comments
GoogleCodeExporter commented
Only the root user can access /proc/user_beancounters in later versions of
OpenVZ.
The solution I took to fix this was a chmod 4755 script that an unprivileged
user could use to output the contents of the file.
I used this program "beanc", but any scripting language could be used:
http://www.labradordata.ca/home/35
I'm not sure what the right solution is here for your distribution, but at the
very least, the docs should have some info in it explaining the problem and
possibly pointing to the link above for a solution, or offering your own.
Original issue reported on code.google.com by daniel.b...@gmail.com
on 10 Mar 2010 at 2:13
GoogleCodeExporter commented
I'll make a parameter that lets the user specify whether to use 'cat' or to
execute
'beanc'. Thanks for the report.
Original comment by baron.schwartz
on 21 Mar 2010 at 12:41
- Changed state: Accepted
GoogleCodeExporter commented
This issue was closed by revision r430.
Original comment by baron.schwartz
on 21 Mar 2010 at 12:56
- Changed state: Fixed
GoogleCodeExporter commented
By the way, if you have an example of the OpenVZ graphs, it would be great to
have
some to add to the wiki.
Original comment by baron.schwartz
on 21 Mar 2010 at 12:57
GoogleCodeExporter commented
Sorry it took me so long to respond. Thanks for fixing the ticket and we do
have some
graphs we could give you guys. I'll try to attach them to this ticket sometime
this
week.
Original comment by daniel.b...@gmail.com
on 3 Apr 2010 at 4:17