On Wed, 2012-05-30 at 23:12 +0200, Lennart Poettering wrote: > On Wed, 30.05.12 14:06, shawn (shawnland...@gmail.com) wrote: > > > > > Regarding the commited version: > > > > <snip> > > + if (S_ISREG(st.st_mode) && (0111 & st.st_mode)) > > { > > </snip> > > > > isn't it conceivable that some programs which would log would only be > > executable by the owner (generally root)? because they might be suid > > root? or then so we just revert to requiring the full _EXE= syntax? > > (0111 & st.st_mode) returns non-zero when the x bit is set for either > the owner, the group or others. Hence the right thing should happen, no?
oh you are right, sorry > > Lennart > -- -Shawn Landden _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel