Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 318025

Summary: net-p2p/freenet-9999: wrong permissions on /var/freenet
Product: Gentoo Linux Reporter: Justus Ranvier <gentoo>
Component: Current packagesAssignee: Thomas Sachau <tommy>
Status: RESOLVED FIXED    
Severity: major CC: net-p2p, pchrist
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.