What is CHMOD 660?

akkira Posted messages 24 Status Membre -  
teebo Posted messages 33570 Registration date   Status Modérateur Last intervention   -
To be able to install a forum in PHP, I'm told to do this:

Set a CHMOD 660 on members.php, posts.txt, log.txt, time1.txt, time2.txt, mailspam.txt, and infos.txt.

Can you tell me what it is and especially how to do it, please?

Thank you in advance!

akkira
Webmaster of the Cyberpunk Den
http://www.antrecyberpunk.be.tf

3 réponses

anne-marie
 
Good evening
if I understood correctly from your message, you are working on Linux or Unix
Chmod is a way to give access rights on directories or files

chmod xyz
x = rights for owner
y = rights for group
z = rights for others

well, all this doesn't mean that chmod 660 will solve your problem (0 = nothing and 7 = everything)
660 means

for each x, y, z the rights break down as follows
4+2+1 (reading, writing, execution : x+y+z)

660 therefore means
Owners = ok for reading and writing but no execution (4+2+0)
Group = the same (4+2+0)
Others: nothing, no rights (0+0+0)

but if the installation requests this chmod, it's already quite a lot of rights
as "root" under unix it's possible to change these rights afterwards
so GO in my opinion

anne-marie
1
anne-marie
 
and the manual?

$chmod 660 file_name (or directory)
I don’t know if that works.........
sorry but my Unix world is very theoretical

anne-marie
0
akkira Posted messages 24 Status Membre
 
oki thanks but it's all good, I found it ;-)
actually, I'm not working on UNIX or LINUX but on our good old Windows, and this technique is simply doable through the FTP client! there's an option "change priorities" or something like that, and there we can modify the CHMOD number ;-)

again, thanks to you who replied to me :-)

akkira
Webmaster of the Cyberpunk Den
http://www.antrecyberpunk.be.tf
0
onvice > akkira Posted messages 24 Status Membre
 
I use the Da NobodX Forum software which does not use a database, mysql........
Problem: I am asked to protect the folder by chmod 660 ([B. From your FTP software]
3. Upload all the files and directories to your site.
4. Apply CHMOD 660 on the directories "dnf/f", "dnf/sfm" and "dnf/topics". See the FAQ paragraph below for more information.) I can't apply this
thank you
0
teebo Posted messages 33570 Registration date   Status Modérateur Last intervention   1 797
 
hop, an elevator due to a little ch'ti problem ;-)
.  .
\_/
0