Salix 13.37 - other

Here you can post links to your contributed packages.
Post Reply
User avatar
lmello
Posts: 218
Joined: 4. Aug 2010, 17:38
Location: Brazil
Contact:

Salix 13.37 - other

Post by lmello »

User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Salix 13.37 - other

Post by mimosa »

These look great!

Having trouble though:

Code: Select all

lucy[downloads]$ svp -w SalixStartUpGuide_13.37_draft1.pdf 
svgalib: Cannot open /dev/mem
Are you running this program as root or suid-root?
Thought it might be because this happened automatically:

Code: Select all

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
so I did this:

Code: Select all

root[downloads]# chmod -R 755 /usr/bin/svp 
root[downloads]# chown -R root /usr/bin/svp 
which didn't help.

I expect I'm missing something obvious here :?

EDIT Same thing with zgv. I should mention I'm using the Ratpoison beta :)
User avatar
lmello
Posts: 218
Joined: 4. Aug 2010, 17:38
Location: Brazil
Contact:

Re: Salix 13.37 - other

Post by lmello »

mimosa wrote:These look great!

Having trouble though:

Code: Select all

lucy[downloads]$ svp -w SalixStartUpGuide_13.37_draft1.pdf 
svgalib: Cannot open /dev/mem
Are you running this program as root or suid-root?
Thought it might be because this happened automatically:

Code: Select all

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
so I did this:

Code: Select all

root[downloads]# chmod -R 755 /usr/bin/svp 
root[downloads]# chown -R root /usr/bin/svp 
which didn't help.

I expect I'm missing something obvious here :?

EDIT Same thing with zgv. I should mention I'm using the Ratpoison beta :)
Try using:

Code: Select all

chmod +s /usr/bin/svp
chmod +s /usr/bin/zgv
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Salix 13.37 - other

Post by mimosa »

Thankyou lmello.

I must read up more on permissions!
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Salix 13.37 - other

Post by Shador »

Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Salix 13.37 - other

Post by mimosa »

@Shador

So if that's not the best permissions setting, what would be better?

It's annoying when install scripts default to *not* using "sane settings" - if you don't watch the thing like a hawk, you will miss your chance. I think I understand why not, but in that case, wouldn't it make sense for the script to wait for user input rather than timing out? At least this script makes a suggestion (755 and root), but I seem to have misunderstood it.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Salix 13.37 - other

Post by Shador »

mimosa wrote: So if that's not the best permissions setting, what would be better?
Don't know. I was just pointing at a possible security risk. I guess the best would be if the program weren't requiring root permission, which seems to be overkill for a mere ?pdf viewer?.
mimosa wrote: It's annoying when install scripts default to *not* using "sane settings" - if you don't watch the thing like a hawk, you will miss your chance. I think I understand why not, but in that case, wouldn't it make sense for the script to wait for user input rather than timing out? At least this script makes a suggestion (755 and root), but I seem to have misunderstood it.
You're supposed to test packages and check the build log anyway for official packages, so that shouldn't be a problem. Apart from that if you're packaging for a while you know about this.
It's not timing out btw, the packaging script is called with cmdline options that answer those questions. After all waiting for user input is no possibility at all, as buildscripts are meant to work fully automatically. That's the whole idea of having a build script.
Image
Tristar
Posts: 6
Joined: 26. Feb 2011, 13:32

Re: Salix 13.37 - other

Post by Tristar »

I know this is an old topic but I want to install the geany-plugin GeanyGenDoc on my Salix 13.37 (64-bit) which is missing the ctpl package. So I searched the forum and found the link from lmello which unfortunately is not working anymore.
By following the url for the ctpl package I'm getting the message that I don't have permission to access /lmello/pkg/l/ctpl/ on this server.

Can anybody give me a hint how to get the ctpl package for the geany-plugins?
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Salix 13.37 - other

Post by laprjns »

Tristar wrote:Can anybody give me a hint how to get the ctpl package for the geany-plugins?
Some thing have been moved around. Here's the new links:
http://people.salixos.org/veterans/lmel ... kg/l/ctpl/

http://people.salixos.org/veterans/lmel ... y-plugins/
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Post Reply