Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im new to the whole server/networking realm. I currently managed to setup apache2 and mod_wsgi to serve my django site. I have created the project within /svr/ directory.

The problem is that when i try to upload new files or make a new directory i get a permission denied error. As far as i am aware i havent changed any permissions.


ls -l

I get the following permission levels, is this correct?

drwxr-xr-x 4  998  998 4096 Jul 11 15:31 .
drwxr-xr-x 4 root root 4096 Jul 11 14:26 ..
drwxr-xr-x 2  998  998 4096 Jul 11 14:23 folder2
drwxr-xr-x 2  998  998 4096 Jul 11 14:18 folder
-rw-r--r-- 1  998  998  248 Jul 11 14:18

I connect via sftp using firezilla using the default username. I have not setup anything else (im sure this is a security risk but for now i just want to work things out one step at a time).

Why can i not upload to this folder?


share|improve this question

why user 998 has not a name? Maybe you just need to actually change the permissions: chown apache:apache /where/apache/writes/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.