There are two answers to this quesion. The first one is for a dreambox users and is enough. The second answer is also for Dreambox users but abit advanced users.
The chmod simple tells linux that this file is an executeable file. In windows we use the extension ".exe" for executeable files. Linux does not has this type of extension. Instead it treats all the files the same way unless u tell it what type of file it is.
The chmod command make a file/script executeable by changing its attributes. The syntax of the chmod command is as folllows
The ABC is the 3 digit code to set attributes. The three digit are for three types of users.Code:chmod ABC filename
A is the attributes for the owner of the file "i.e. Dreambox"
B is the attributes for the group i.e Dreambox but in case of linux this can be other users.
C is the attributes for world. Means anyone who can access this file.
The code made from the sum of three permission.
1 is for Executeable.
2 is for Writeable.
4 is for Readble.
now if u want to make a file executeable for the owner then u will have to make it "4" but u must also give the perimison of reading a file. because u cant executea a file if u can read it so the permission will be the sum of the two.
Execute + Read
4 + 1 = 5 (file is readable and executeable)
so the chmod code will be as follows.
this file will be readable and executeabe by the owner of the file only. To give read persmission to everyone u can use this commandCode:chmod 500 filename
now everyone can view it but only the owner can execute it.Code:chmod 544 filename
normally you only use the 755 or 644. I think u should know the meaning of these codes now.