Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Can't Change ownership of symlink



> chmod 777 /home/dave
> 
> It works, but it feels a little funny to make my home directory so wide
> open.

It is good to feel a little funny, but it is fine on a machine where you
are the only user. And on a production system you wouldn't put web sites
under a home directory (as a rule).

> So I tried to log in as that user, but it asked for a password, and rejected
> every password I tried. 

Do "su -", then do "su - www-data".

Darren

P.S. You could change it to 770 and put the apache user in the "dave"
group. But that is wasted effort in this case IMHO.




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links