chmod question

P

PepeDuran2

Member
Messages
8
Likes
0
My Satellite Setup
Dreambox 7025s, & 7000s
My Location
Land Of The Long white Cloud
#1
New to dreambox and linux (flame suit on)
Can anybody tell me in what circumstance; and how would you use chmod
 
S

skydreamer

Frequent flyer
Messages
56
Likes
0
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
#2
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

mhku

Super Moderator
Staff member
Messages
4,712
Likes
20
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
#3
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

rolfw

Believe it when I see it Admin.
Staff member
Messages
37,726
Likes
1,291
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
#4
I do it using my FTP program, find it much easier with a right click. :)
 
T_G

T_G

The Consumate Dreamer
Staff member
Messages
6,650
Likes
215
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
#5
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

mhku

Super Moderator
Staff member
Messages
4,712
Likes
20
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
#6
Except the the Dreambox doesn't always obey ftp program chmod commands (in my experience).

Pepe- any feedback?
 
rolfw

rolfw

Believe it when I see it Admin.
Staff member
Messages
37,726
Likes
1,291
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
#7
I,ve never experienced a problem wit WS_FTP Pro.
 
W

wallycharlo

Specialist Contributor
Messages
310
Likes
6
My Satellite Setup
DM800 / 1m Gibertini XP
My Location
Western Austria
#8
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