Author Topic: Please clarify my small doubt  (Read 3962 times)

0 Members and 1 Guest are viewing this topic.

Offline raghunadhreddys

  • Newbie
  • *
  • Posts: 46
    • View Profile
Please clarify my small doubt
« on: October 04, 2009, 03:59:55 PM »
Set permissions for the following directories:

     chmod 777 (drwxrwxrwx) : data
     chmod 777 (drwxrwxrwx) : data/database
     chmod 777 (drwxrwxrwx) : data/media
     chmod 777 (drwxrwxrwx) : data/thumbnails
     chmod 777 (drwxrwxrwx) : data/tmp_media
     chmod 777 (drwxrwxrwx) : data/tmp_thumbnails
     chmod 777 (drwxrwxrwx) : templates
     chmod 777 (drwxrwxrwx) : templates/default
     chmod 777 (drwxrwxrwx) : templates/default/media
     chmod 777 (drwxrwxrwx) : templates/default_960px
     chmod 777 (drwxrwxrwx) : templates/default_960px/media
     chmod 777 (drwxrwxrwx) : templates/default_full
     chmod 777 (drwxrwxrwx) : templates/default_full/media         

     Set permissions for the following files:

     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default"
     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default/media"
     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default_960px"
     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default_960px/media"
     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default_full"
     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default_full/media"


MY DOUBT IS

First we are chmoding " templates/default/media"  to 777

After we are once agin chmoding " all files in the directory "templates/default" to 666

the media directory is in "templates/default",Then why we have to chmod to 777 and once agin to 666 the same directory?

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: Please clarify my small doubt
« Reply #1 on: October 04, 2009, 09:26:05 PM »
No, you do the 777 CHMOD on directories themselves and 666 on files in these directories.
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.