Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 Permission Problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
v3trae
n00b
n00b


Joined: 14 Aug 2006
Posts: 58

PostPosted: Tue Aug 12, 2008 5:17 am    Post subject: Apache2 Permission Problem Reply with quote

I have apache2 and vsftpd running on a gentoo box.

my htdocs is currently chmod'd to 770. The problem i'm having is whenever i upload a file/folder through ftp, it doesn't retain the parent directories permissions, and therefore isn't readable through a webbrowser. I'm not really sure what you guys might need to see so just ask for it and i'll get it and post it.

Thank you ahead of time and have a wonderful evening!
Back to top
View user's profile Send private message
chainsawbike
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2007
Posts: 78
Location: the great new zealand

PostPosted: Tue Aug 12, 2008 11:12 am    Post subject: Reply with quote

lazy solution : run a cron to chmod + chown them to the correct values
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Aug 12, 2008 12:20 pm    Post subject: Reply with quote

or change the umask setting for your FTP server config.
Back to top
View user's profile Send private message
v3trae
n00b
n00b


Joined: 14 Aug 2006
Posts: 58

PostPosted: Tue Aug 12, 2008 6:57 pm    Post subject: Reply with quote

Changing the mask is what did it. Thank you very much =)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum