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: Printing pb because of amsn-tcltk-0.95-ver3.dsl< Next Oldest | Next Newest >
Selim Offline





Group: Members
Posts: 52
Joined: Oct. 2006
Posted: Nov. 10 2006,18:47 QUOTE

When i install amsn-tcltk-0.95-ver3.dsl, write access for Other is disabled on /ramdisk/tmp Because of this i can't print then.

Any ideas why? workarounds?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 13 2006,14:27 QUOTE

It could easily have been broken by an incorrectly built myDSL extension.

sudo chmod 777 /ramdisk/tmp


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Selim Offline





Group: Members
Posts: 52
Joined: Oct. 2006
Posted: Nov. 13 2006,18:31 QUOTE

Thanks mikshaw for your answer.

What I'd like to know is:
- Is it possible to fix this extension and how?
- Why write access for Other on /ramdisk/tmp is needed for printing?

Btw, if clivesay read this topic, the printerhowto.pdf should be updated: it isn't necessary to modify filetool.lst for those using the backup/restore feature. When one use the Printer Setup of the control panel and then reboot  a pop-up asks you if you want to save the printer settings.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 13 2006,21:09 QUOTE

It's possible to fix, but first you need to know which extension is causing the trouble.  If an extension includes the /tmp directory (it shouldn't), and that directory is mode 755 or 775 (typical directory permissions), the directory will overwrite the system /tmp directory and break permissions. System temp directories should be 777 so any user can write to it.

If your extension is *.dsl or *.tar.gz you can see what files are in it by using the command "tar -tzf filename".
It may have "tmp/mydsl.menu/something", but it should NOT have just "tmp".

I don't know for sure why printing needs a temp file, but it might be creating a postscript file from the source file before printing. In any case, your tmp directory needs fixing if any user has trouble writing to it.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Selim Offline





Group: Members
Posts: 52
Joined: Oct. 2006
Posted: Nov. 16 2006,23:10 QUOTE

OK, i fixed it:

- First, i grabbed last version of amsn-tcltk-0.95 (amsn-tcltk-0.95-ver4.dsl) there:
http://xoomer.alice.it/jls/

- Then, i extracted the files from it:
tar -zxvf amsn-tcltk-0.95-ver4.dsl

- Write access for Other on /tmp was set

- Finally, i compressed the files:
tar -czvf amsn-tcltk-0.95-ver4-fixed.dsl --numeric-owner *
Back to top
Profile PM 
6 replies since Nov. 10 2006,18:47 < 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: Printing pb because of amsn-tcltk-0.95-ver3.dsl

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