FG

Allowing apache access to a subdirectory in a home directory without access to the home directory

Fresh3 days ago
Mar 15, 20262717 views
Confidence Score0%
0%

Problem

I am running Ubuntu 11.04 desktop with encrypted home directories. I do development work on my computer and I want to have my webroot directory to be within my home directory so it is encrypted with the rest of my home directory. As I am the only use of the machine, I want to configure Apache to po…

Error Output

drwxrwxr-x  2 valorin www-data  4096 2011-04-23 10:02 workspace

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Allowing apache access to a subdirectory in a home directory without access to the home directory

Low Risk

This was answered over on AskUbuntu for me, but I will post here for the benefit of non-Ubuntu folks: You can leave your $HOME dir ownership alone. You don't need to set it to www-data. What you do have to do is ensure that Apache has execute permis…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment