[Slapt-get-devel] running slapt-get as non-root

Jason Woodward woodwardj at jaos.org
Sat Oct 6 00:05:34 EDT 2007


Hi,

> I was trying to run slapt-get as non-root (i.e. me)
> but it gave errors even when running commands such
> as --version or --simulate --upgrade, that should
> only require read access (but not full write access)
> 
> "/home/ftp/pub/veclinux/packages: Permission denied"
> 
> I typically do things like "make" or dry-runs with
> my regular user account, and then use su (or sudo)
> for doing the "make install" or package installs.
> (mostly because always running as root is dangerous)
> 
> I made some quick patches that fixes these issues,
> they're attached to this email (and quite small).
> I tested on Vector Linux 5.8, but the patches should
> also apply to slapt-get 0.9.12b as well I think...
> 
> Working good otherwise, thanks for doing slapt/gslapt!
> --anders
> 
> PS.
> Adding support for it, to my Xfce panel plugin:
> http://goodies.xfce.org/projects/panel-plugins/xfce4-smartpm-plugin

Thanks, I'll apply these to cvs.


take care,
jason
--
Jason Woodward
woodwardj at jaos.org




More information about the Slapt-get-devel mailing list