Gregor dijo [Mon, Nov 09, 2009 at 06:37:40PM +0100]:
> Is there anything I could try to make these directories accessible to 
> Cherokee?
> >>> Or rather, give the www-data user the rights to get to the directories
> >>> in question. Try _not_ to run the server as any user with permissions
> >>> to do anything other than what is really needed!
> >
> > Leonel, would be interesting to see whether it works on your laptop. I'm 
> > currently installing another Karmic, without encrypted /home - maybe I 
> > find the time to test it for myself later.
> >
> > sorry, I didn't mention it, but I already tried that: i chowned the 
> > respective directory to www-data, and I even set permissions to 777. 
> > Yet, the problem remains. And before the Karmic-Update, the whole 
> > installation worked fine, exact same paths and permissions.
> > 
>
> Ok, I tested on a fresh Karmic install without encrypted /home directory 
> - here it works fine. Really seems like the encrypted directory makes 
> the difference.

Here it would be worth checking what semantics does «encrypted»
carry. The LUKS encryption mechanism (which has been part of Debian,
at least, since Etch - that means, since 2007, and must be part of
Ubuntu approximately from the same point) handles disk encryption
before mounting, but once the partition is mounted, it is completely
normal for the POSIX system that lives in it (that is, the encryption
is invisible to the programs, it is only a mechanism that ensures the
data is safer in case of a physical compromise).

If the new Ubuntu systems carry on-demand mounting/unmounting
encrypted bits of information, yes, my bet is you will have to store
the web-accessible directories outside the encrypted area. But it
would be very worth checking and understanding exactly what happens in
there. Encryption should not break the usability of the system inside
it!

Greetings,

-- 
Gunnar Wolf • [email protected] • (+52-55)5623-0154 / 1451-2244
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to