Date: Tue, 30 May 2006 12:30:17 -0500 From: Wesley Shields <wxs@atarininja.org> To: Eric Anderson <anderson@centtech.com> Cc: freebsd-hackers@freebsd.org Subject: Re: truncate tool - must be root? Message-ID: <20060530173017.GA68924@atarininja.org> In-Reply-To: <447C6BCF.50908@centtech.com> References: <447C6BCF.50908@centtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 30, 2006 at 10:59:11AM -0500, Eric Anderson wrote: > Is it expected that truncate(8) must be used by a superuser? If so, > then the man page should probably mention it. If not, then it's broken :) > > > Eric I can use truncate on files I own without a problem. Who owns the files? A quick experiment indicates that even setting a file to mode 647 when owned by root:wheel doesn't allow it to be operated on by anyone other than root when using truncate. -- WXS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060530173017.GA68924>