View unanswered posts | View active topics It is currently Wed May 22, 2013 2:22 pm



Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
 Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why? 
Author Message

Joined: Sun Jan 16, 2011 6:47 pm
Posts: 8
Post Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
:?: hi, I'm trying to edit some files in this directory /usr/local/bin/IMS_Modules/podCast/scripts to load my own podcasts.

1) login with telnet and user "root"
2) uses vi to edit a podcast xml
3) try to save
4) get the error, that file is read only

how can i change this files?
i use the latest beta software for european mini (r2115)

THANKS for an anser


Tue Apr 12, 2011 8:16 pm
Profile

Joined: Sat Oct 24, 2009 6:29 pm
Posts: 8942
Location: Netherlands
Post Re: Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
Moved to to other developments.

_________________
My latest music production released on 10-1-2012 !!!
http://www.youtube.com/watch?v=Kaagnvz3CAs
Playon HD1/HD2/HD3 and MIni series//DVR-HD/ESSENTIAL/VEOLO BLOG, Latest tips Tricks Unreleased Firmwares News and Tutorials !
HTTP://ACRYANFAQ.BLOGSPOT.COM


Wed Apr 13, 2011 2:57 pm
Profile

Joined: Sun Jan 16, 2011 6:47 pm
Posts: 8
Post Re: Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
Still no answer to that?
I like to edit my podcast list ... so it's really not useful the podcast function :cry:


Fri Apr 29, 2011 2:44 pm
Profile

Joined: Sat Oct 24, 2009 6:29 pm
Posts: 8942
Location: Netherlands
Post Re: Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
Sorry im no linux expert.

I can't help you

_________________
My latest music production released on 10-1-2012 !!!
http://www.youtube.com/watch?v=Kaagnvz3CAs
Playon HD1/HD2/HD3 and MIni series//DVR-HD/ESSENTIAL/VEOLO BLOG, Latest tips Tricks Unreleased Firmwares News and Tutorials !
HTTP://ACRYANFAQ.BLOGSPOT.COM


Fri Apr 29, 2011 2:55 pm
Profile

Joined: Sat May 08, 2010 5:07 am
Posts: 335
Post Re: Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
bongtv_user wrote:
:?: hi, I'm trying to edit some files in this directory /usr/local/bin/IMS_Modules/podCast/scripts to load my own podcasts.

1) login with telnet and user "root"
2) uses vi to edit a podcast xml
3) try to save
4) get the error, that file is read only

how can i change this files?
i use the latest beta software for european mini (r2115)

THANKS for an anser


You are trying to make changes to a squashfs filesystem which is read-only. The only way you can do what you are trying to do is to overmount the /usr/local/bin/IMS_Modules/podCast/scripts directory somewhere writable ie: usb stick or /usr/local/etc. Here's what you need to do assuming you have the space on the /usr/local/etc directory if not you can always use device connected to the usb port (drive,stick).

1) First you need to copy your scripts directory to somewhere writable:

Code:
# cp -r /usr/local/bin/IMS_Modules/podCast/scripts/ /usr/local/etc/


2) Second you need to overmount the newly copied directory to /usr/local/bin/IMS_Modules/podCast/scripts/ so that they become one and the same.

Code:
#  mount -o bind /usr/local/etc/scripts /usr/local/bin/IMS_Modules/podCast/scripts/


Now the content of your script directory should be writable. One other issue that you may have is that I believe that some of the scripts are actually encoded hence they might need to be decrypted before you can edit them ?????? not 100% sure on that.

If the previous commands worked for you and you are able to edit the scripts then you should edit your /usr/local/etc/rcS file so that the overmount is process everytime you boot up your POHD. Just add those two lines at the end of the rcS file.

Code:
sleep 5
mount -o bind /usr/local/etc/scripts /usr/local/bin/IMS_Modules/podCast/scripts/


if you are using the /usr/local/etc directory use sleep5; sleep 60 if you are using something attached to the USB port.

That's it


Fri Apr 29, 2011 5:36 pm
Profile

Joined: Sun Jan 16, 2011 6:47 pm
Posts: 8
Post Re: Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
WOW! Such a GREAT help!! Thanks a lot. It worked perfectly. Now i can edit the files... but it turned out, that these files are not the correct list of the displayed podcasts. I made changes in the XML files (not crypted) but my modified entry was not visible.
a) i missed a folder which is responsible for the list?!
b) the info is in the crypted files (.rss). How to decrypt?


Fri Apr 29, 2011 6:37 pm
Profile

Joined: Sun Jan 16, 2011 6:47 pm
Posts: 8
Post Re: Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
OK, found other files in
Code:
 /usr/local/bin/scripts/VideoPodcast2/scripts

Of course they are encrypted ... so next challenge: how to decrypt ;)


Fri Apr 29, 2011 6:53 pm
Profile

Joined: Mon Jan 17, 2011 5:03 am
Posts: 29
Location: avforums.com
Post Re: Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
bongtv_user wrote:
how to decrypt ;)


have you decrypted the rss files yet?


Tue May 17, 2011 7:25 am
Profile WWW

Joined: Sun Jan 16, 2011 6:47 pm
Posts: 8
Post Re: Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
Skanda wrote:
bongtv_user wrote:
how to decrypt ;)


have you decrypted the rss files yet?


No ... I tried some tools, but nothing worked for me :cry:


Tue May 17, 2011 10:03 am
Profile

Joined: Sat Feb 13, 2010 9:59 pm
Posts: 673
Location: Tilburg
Post Re: Cant edit files in /usr/local/bin/IMS_Modules/podCast/ Why?
You can use method from Lossless to decrypt them.


Tue May 17, 2011 7:26 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.