Re: truncate tool - must be root?
- From: Wesley Shields <wxs@xxxxxxxxxxxxxx>
- Date: Tue, 30 May 2006 12:30:17 -0500
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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- truncate tool - must be root?
- From: Eric Anderson
- truncate tool - must be root?
- Prev by Date: Re: truncate tool - must be root?
- Next by Date: Re: FreeBSD 6.1, crashes and a lack of vmcores
- Previous by thread: Re: truncate tool - must be root?
- Next by thread: Re: truncate tool - must be root?
- Index(es):