[SATLUG] symbolic links and permissions

Bruce Dubbs bruce.dubbs at gmail.com
Sat Jan 24 23:05:39 CST 2009


Geoff wrote:
> Curious problem.
> 
> My host drive on my server that I do -not- have physical access to (it's
> in San Antonio and I'm in Houston) is running low on space.
> 
> One directory in /home, I found, was holding 5g.  There are 2 other
> volumes in the machine, with plenty of space available.
> 
> So, I figured 'hmmm... mv the files to the larger volume, create a
> symlink from /home/{username}/public_html/directory to
> /larger_drive/directory
> 
> as root, in the cli, the symlink worked.  Checking it online, I continue
> to get "Access forbidden".

Make sure apache has read and execute permissions for *all* directories in the 
path to the files in question ( i.e. /larger_drive/directory/subdir etc.).

   -- Bruce


More information about the SATLUG mailing list