Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Whats Chmod?, can someone tell me?
courage
post Jan 7 2006, 09:33 PM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 11
Joined: 7-January 06
Member No.: 16,734



i was makeing my web and in readme.txt it said: chmod data.txt! i don't under stand! can anybody tell me what it is?
Go to the top of the page
 
+Quote Post
Plenoptic
post Jan 7 2006, 09:53 PM
Post #2


Trap Double Mocha Member
***************

Group: [HOSTED]
Posts: 2,255
Joined: 5-November 05
From: That one place over there...
Member No.: 13,830
myCENT:68.99



Chmod is basically how people can access a file. You can Read, Write, and Execute. The different CHMOD allows an application to access that file, write something to it, or run it. Some files need to have the permissions changed in order to run the program properly. If you have an ftp manager and right click on the file you can see there is a menu called Properties/CHMOD.
Go to the top of the page
 
+Quote Post
serverph
post Jan 7 2006, 10:07 PM
Post #3


Ancient Enigma
Group Icon

Group: [MODERATOR]
Posts: 1,837
Joined: 11-July 04
From: under the stars
Member No.: 76
myCENT:80.62



here's a wikipedia entry regarding CHMOD. google also found these other definitions of chmod.
Go to the top of the page
 
+Quote Post
jlhaslip
post Jan 7 2006, 10:22 PM
Post #4


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,298
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:8.90



CHMOD has to do with setting permissions for the ability of different users to access files or folders and perform various tasks on the files or folders.

There are three types of users defined in chmod. They are the file's owner (you), a defined group of users, and the world. So the defined order of these users is Owner, Group, World.

The permissions allowed are Read, Write, Execute and each permission has a value assigned to it. read = 4, write = 2, execute = 1, no access = 0. To set the user's access, add the permissions together for the permissions you want them to have for that particular file or folder. ie: to give read and write access to that group, add together 4 + 2 = 6, then set their permission to 6.

Do this for each group and then place the numbers side by side in the O_G_W sequence to determine the value to alter the chmod to. ie: 740 is to give the file owner full access, a group's access is read only, and no access to the public.

Typical web access for the public_html folder is 755, meaning the owner has full access and all others have read and execute only. Inside the folder, the html files are set to 644 by default. There is no need for execute, since html is not 'executable'. If you want a file or folder to be truly private, set permissions to 700 and nobody except you will have access to it.
Go to the top of the page
 
+Quote Post
courage
post Jan 7 2006, 10:59 PM
Post #5


Newbie [Level 1]
*

Group: Members
Posts: 11
Joined: 7-January 06
Member No.: 16,734



thanks!! i usaly scip that part and sometimes it works, sometimes not!
Go to the top of the page
 
+Quote Post
michaelper22
post Jan 7 2006, 11:18 PM
Post #6


-=Hybrid Bus=-
*********

Group: Members
Posts: 742
Joined: 2-November 05
From: My hybrid bus (in NYC), a computer
Member No.: 13,709
Spam Patrol



If you CHMOD a folder to 755, that means you can browse through that folder. Makes sense because you can't execute a folder (although I originally thought that it meant that any file in a folder with 755 permissions can be executed).
Go to the top of the page
 
+Quote Post
courage
post Jan 8 2006, 04:39 AM
Post #7


Newbie [Level 1]
*

Group: Members
Posts: 11
Joined: 7-January 06
Member No.: 16,734



I now understand ,but i didn't understand the permissions to that file, but it seems the file alredy had permission! i think it do that him self, or maby the web server does it! im using appserv, if he does do permissions himself then i could have some problems! like: do not permission the file tongue.gif tell me please how to turn that off!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Hacking(22)
  2. Top 10 Geek Ways To Beat Boredom(12)


 



- Lo-Fi Version Time is now: 21st November 2008 - 02:37 AM