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: 267

Filed under:
|
|
|
|

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.

  1. What's the deal with having to do this every time I FTP? Feels flaky.
  2. 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

Related posts about mono

Related posts about linux