Date: Tue, 5 Oct 2010 23:50:54 +0000 From: Alexander Best <arundel@freebsd.org> To: freebsd-hackers@freebsd.org Subject: issue with unsetting 'arch' flag Message-ID: <20101005235054.GA45827@freebsd.org>
next in thread | raw e-mail | index | archive | help
hi there, i think the following example shows the problem better than a long explanation: `touch ftest && chflags arch ftest && chflags -vv 0 ftest`. ^^non-root ^^root ^^non-root chflags claims to have cleared the 'arch' flag (which should be impossible as non-root user), but indeed has done nothing. i've tried the same with 'sappnd' and that works as can be expected. The issue was confirmed to exist in HEAD (me), stable/8 (pgollucc1, jpaetzel) and stable/7 (nox). On stable/6 it does NOT exist (jpaetzel). chflags properly fails with EPERM. cheers. alex -- a13x
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101005235054.GA45827>