[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: truncate tool - must be root?
From: Wesley Shields <wxs () atarininja ! org>
Date: 2006-05-30 16:32:43
Message-ID: 20060530173017.GA68924 () atarininja ! org
[Download RAW message or body]
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic