Jul 25, 2008

Whats Chmod? - can someone tell me?

Free Web Hosting, No Ads > CONTRIBUTE > Computers

free web hosting

Whats Chmod? - can someone tell me?

courage
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?

Reply

Plenoptic
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.

Reply

serverph
here's a wikipedia entry regarding CHMOD. google also found these other definitions of chmod.

Reply

jlhaslip
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.

 

 

 


Reply

courage
thanks!! i usaly scip that part and sometimes it works, sometimes not!

Reply

michaelper22
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).

Reply

courage
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!

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. .chmod 740 - 61.56 hr back. (1)
  2. file / folder, read / write / execute permissions chmod - 78.00 hr back. (1)
  3. full access folder permissions chmod - 142.27 hr back. (1)
  4. chmod 740 - 47.64 hr back. (2)
Similar Topics

Keywords : whats chmod

  1. Hacking - What's your opinion? (22)
  2. Syncing Ram - whats it all about? (5)
    i'm getting a new computer in a while; end of the year or early next year. i've been doing a
    bit of research into the parts i'm getting but i haven't gone into any detail about how each
    of them will work connectively. one of the things i still don't understand is the
    synchronization of ram. people are talking about ram being synced in a x-x-x-x-x (4-4-4-12) based
    formats and it's got me curious to know what exactly it all means. the core components i've
    decided to get are as follows; Motherboard: Gigabyte GA965P-DQ6 CPU: Intel Core 2 Duo ...
  3. Whats The Safest Download Option? - cast your vote! (21)
    In your opinion, wht is the safest way to share files? BitTorrent or P2P file sharers? In my
    opinion BitTorrent is safer, here is why I think this. How long does it take to create a torrent?
    It takes a while... You have to find a tracker and get permission to use it. Then you have to
    upload the .torrent file to a site. How long does it take to share a file on a P2P file sharer?
    You just put te file in your shared folder Who will spend the time to create a torrent with a
    virus in it when they can just stick i in the shred folder? BitTorrent does not connect to...



Looking for whats, chmod

Searching Video's for whats, chmod
advertisement



Whats Chmod? - can someone tell me?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE