Re: [dev] [sup] [PATCH] make sup usable in most distros.
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.
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) >