chmod question

PepeDuran2

Member
Joined
Jan 26, 2006
Messages
8
Reaction score
0
Points
0
Age
73
My Satellite Setup
Dreambox 7025s, & 7000s
My Location
Land Of The Long white Cloud
New to dreambox and linux (flame suit on)
Can anybody tell me in what circumstance; and how would you use chmod
 

skydreamer

Frequent flyer
Joined
May 13, 2005
Messages
56
Reaction score
0
Points
0
Age
59
My Satellite Setup
DB8000HD, 90 mm cooling fan, 2TB Seagate LP HDD, Slim DVD-ROM, Smart Twin Titanium 0.2dB, Stab HH120 USALS 45E-45W, Triax 120, SkyStar II HD
My Location
Windy & Wet Atlantic Coast
chmod - change file access permissions
The functionality loosely reassembles security/advanced tab in Windows, I suppose you lived on staple Windows diet to date?
 

mhku

Super Moderator
Staff member
Joined
Mar 8, 2005
Messages
4,712
Reaction score
20
Points
38
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
You use it with telnet. If you have edited a file on your Dreambox you may need to change the file permissions to read write execute.

e.g. chmod 755 xml.conf
 

rolfw

Believe it when I see it Admin.
Staff member
Joined
May 1, 1999
Messages
38,295
Reaction score
1,620
Points
113
My Satellite Setup
Technomate 5402 HD M2 Ci, DM7000s, Transparent 80cm Dish, Moteck SG2100 DiseqC motor, lots of legacy gear. Meters: Satlook Digital NIT, Promax HD Ranger+ spectrum analyser.
My Location
Berkshire
I do it using my FTP program, find it much easier with a right click. :)
 

T_G

The Consumate Dreamer
Staff member
Joined
Jan 1, 2000
Messages
6,693
Reaction score
241
Points
63
Age
58
My Satellite Setup
1 GigaBlue Quad plus, 1 Dreambox 5620, MOTECK SG2100A DISEqC Motor, 120 cm noname offset dish, Humax 95 cm offset dish and a few UK digiboxes.
My Location
Somewhere where the Sauer is Kraut and the Wurst is Brat
rolfw said:
I do it using my FTP program, find it much easier with a right click. :)
Exactly. If you are new to the Dreambox an FTP program is the easiest way of adding keys or files to the Dreambox unless you use direct download through internet,. Especially plugins, cams and keys like to be on 755 chmod. Very easy to do as Rolf said, right click on the file (or all files in a directory and chmod to 755.
 

mhku

Super Moderator
Staff member
Joined
Mar 8, 2005
Messages
4,712
Reaction score
20
Points
38
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
Except the the Dreambox doesn't always obey ftp program chmod commands (in my experience).

Pepe- any feedback?
 

rolfw

Believe it when I see it Admin.
Staff member
Joined
May 1, 1999
Messages
38,295
Reaction score
1,620
Points
113
My Satellite Setup
Technomate 5402 HD M2 Ci, DM7000s, Transparent 80cm Dish, Moteck SG2100 DiseqC motor, lots of legacy gear. Meters: Satlook Digital NIT, Promax HD Ranger+ spectrum analyser.
My Location
Berkshire
I,ve never experienced a problem wit WS_FTP Pro.
 

wallycharlo

Regular Member
Joined
Nov 15, 2004
Messages
312
Reaction score
7
Points
18
Age
49
My Satellite Setup
DM800 / 1m Gibertini XP
My Location
Western Austria
chmod sets the file permissions

there are 3 numbers ... eg '755'

the first numbers sets permissions for the user himself (ie you)
the second is for the group you belong to (nothing to do with cardshare or anything,its unix/linux lingo!)
the third is for everyone else (all net users)

7 means the the user can read,write to,and execute the file
7 is really standing for its binary equivalent ...

ie 111

which in turn means 'rwx' ... for "read,write,execute"

so, 5 would be 110 in binary, which would be 'rw-' ... so reading and writing is allowed, while executing is not allowed.

so, if you gave a binary file the permissions 555,it would mean that the user (the first 5) can only read and write to the file,but is not allowed to execute it.so a softcam in /var/bin will not work with 555. if you make it 755 it will then have execute permissions so will work.in fact it will also wotk with 750 or perhaps even 700 ...

for more info do a google for "chmod unix man page"

in general all files you place in /var/bin will need to have execute permission.files in /var/keys do not need execute,they just need read.though there is no harm in giving them execute anyway
 
Top