Re: [dev] [sup] [PATCH] make sup usable in most distros.

2014-03-28 Thread Markus Teich
Markus Teich wrote: > Is there an active maintainer for sup? If pancake is not actively maintaining sup anymore, I apply to do it. I have the plan to add password support in the future. --Markus

Re: [dev] [sup] [PATCH] make sup usable in most distros.

2014-03-15 Thread Markus Teich
Most distros install binaries with write permissions for the owner (root). We don't need to check them, since the owner can always also change the permission. Also many packaging systems use symlinks to organize different versions or alternatives of programms. Also busybox style toolkits use symli

Re: [dev] [sup] [PATCH] make sup usable in most distros.

2014-03-15 Thread Eric Pruitt
On Fri, Mar 14, 2014 at 03:49:43PM +0100, Markus Teich wrote: > + if (stat (cmd, &st) == -1) > return die (1, "lstat", "cannot stat program"); > - if (st.st_mode & 0222) > + if (st.st_mode & 0022) >

[dev] [sup] [PATCH] make sup usable in most distros.

2014-03-14 Thread Markus Teich
Most distros install binaries with write permissions for the owner (root). We don't need to check them, since the owner can always also change the permission. Also many packaging systems use symlinks to organize different versions or alternatives of programms. Also busybox style toolkits use symli