Directory structure and permissions

I notice directory structure recommended in the instructions (http://library.linode.com/hosting-website) is this:

/home/username/public/example.com/public

/home/username/public/example.com/log

/home/username/public/example.com/backup

…where /home/username/public/example.com/public is used for the root of the website.

On other servers I am used to seeing www and public_html folders. (I guess this is just a convention and does not matter?)

Just want to make sure what permissions should be on each of these:

1. /home/username/public

2. /home/username/public/example.com

3. /home/username/public/example.com/public

4. /home/username/public/example.com/log

5. /home/username/public/example.com/backup

Woud appreciate if someone could let me know correct permissions for above.

Thanks!

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct