Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318025 - net-p2p/freenet-9999: wrong permissions on /var/freenet
Summary: net-p2p/freenet-9999: wrong permissions on /var/freenet
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-01 17:13 UTC by Justus Ranvier
Modified: 2010-06-25 21:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justus Ranvier 2010-05-01 17:13:33 UTC
When freenet-9999 is installed it creates /var/freenet owned by root:root instead of freenet:freenet. This prevents the application from starting because it can't write to it's own work directory unless you run the daemon as root.

Reproducible: Always

Steps to Reproduce:
Comment 1 Thomas Sachau gentoo-dev 2010-05-05 16:17:56 UTC
If you had a clean system (no freenet user, no /var/freenet), then the dir should be created with the right permssions with the freenet user as owner.

Did you create a freenet user previously, did you have a very early version of the ebuild installed or existed /var/freenet before?
Comment 2 Justus Ranvier 2010-06-25 13:26:03 UTC
I tried a completely clean install and this time /var/freenet was owned by freenet:root.

I tried to confirm the original behavior by uninstalling freenet without deleting the freenet user and this time it made /var/freenet owned by freenet:freenet.