Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Trying to Edit monkey Files, Please Help< Next Oldest | Next Newest >
Kastr0 Offline





Group: Members
Posts: 15
Joined: Jan. 2004
Posted: Jan. 15 2004,18:36 QUOTE

Hi Everyone Im A Newb here --   I was trying to edit the conf files for monkey which are in /root/monkey-0.6.3/conf/

So i figured i needed to be in root  
so i did the "sudo su" command -


opened up Nedit open the file and its read only -- i cant edit it----
  can anyone help Please --- Files that i was trying to edit where  /root/monkey-0.6.3/conf/monkey.conf
--/root/monkey-0.6.3/htdocs/all
Back to top
Profile PM 
CappyCaffeine Offline





Group: Members
Posts: 64
Joined: Jan. 2004
Posted: Jan. 15 2004,19:19 QUOTE

which version of DSL are your running?

if the file appears read only, you could type (as root):

chmod 666 /root/monkey-0.6.3/conf/monkey.conf

to make it editable. (don't eat it! :) )

then try nedit.

Cappy
Back to top
Profile PM MSN 
Kastr0 Offline





Group: Members
Posts: 15
Joined: Jan. 2004
Posted: Jan. 15 2004,20:11 QUOTE

THX Cappy --- The version that im running is pub/Linux/distributions/damnsmall/damnsmall-0.5_download_this_one.iso  is that one ,, LOL-----------
i went ahead and chmod the files and it works -   what would be the chmod # to put it back to read only?



THX
Back to top
Profile PM 
Modrak Offline





Group: Members
Posts: 189
Joined: Dec. 2003
Posted: Jan. 17 2004,20:59 QUOTE

Code Sample
----------
|4 read |
|2 write |
|1 exec|
-----------

Just use "+"

-----NUMBERS-----
1st is the owner
2nd is group
3rd is everyone

So please use #chmod 444  :cool:
Back to top
Profile PM 
BillH Offline





Group: Members
Posts: 34
Joined: April 2004
Posted: April 02 2004,02:12 QUOTE

Sorry if this is obvious to people with more experience, but is there any good reason that /opt/monkey/htdocs and /opt/monkey/htdocs/index.html belong to user root and not to user damnsmall?

Using DSL 0.6.2


--------------
Keep it simple.
Back to top
Profile PM AOL 
6 replies since Jan. 15 2004,18:36 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Trying to Edit monkey Files

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code