Fixing permissions after FTPing ASP.NET code to a Linux system
Posted
by dnord
on Stack Overflow
See other posts from Stack Overflow
or by dnord
Published on 2010-04-19T17:00:34Z
Indexed on
2010/04/19
17:03 UTC
Read the original article
Hit count: 273
First off, I'm running Mono to run ASP.NET on Linux, but that's not the question.
It appears that, every time I clear out my application directory and upload, I have to go back in and fix the permissions. What I'm doing is
chmod -R -c 755 /var/www/*
...and there are two questions.
- What's the deal with having to do this every time I FTP? Feels flaky.
- Is there a better permissions set than 755? Do I want different permissions for the /bin directory? Or can I fix this all with one fell swoop of
chown
?
© Stack Overflow or respective owner