Re: truncate tool - must be root?
- From: Eric Anderson <anderson@xxxxxxxxxxxx>
- Date: Tue, 30 May 2006 11:29:07 -0500
David S. Madole wrote:
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 :)
That's a pretty weak attempt at a bug report, and a wrong one, too:
$ uname -m -r -s
FreeBSD 5.4-RELEASE i386
$ id
uid=2028(madole) gid=2000(users) groups=2000(users)
$ echo "this is a test" > test
$ ls -l test
-rw-r----- 1 madole httpd 15 May 30 12:06 test
$ truncate -s 7 test
$ ls -l test
-rw-r----- 1 madole httpd 7 May 30 12:06 test
$ cat test
this is$
Want to try again, giving any sort of interesting details you can, like version you tested on or a reproducible test case?
David
*sigh*
My mistake - I'm not even going to mention the simple nature of my problem, because I'd embarrass myself too much. :)
You're right though, it was a bad report, and I should be smacked with a silly stick..
Eric
--
------------------------------------------------------------------------
Eric Anderson Sr. Systems Administrator Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------
_______________________________________________
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
- Re: truncate tool - must be root?
- From: David S. Madole
- truncate tool - must be root?
- Prev by Date: Re: FreeBSD 6.1, crashes and a lack of vmcores
- Next by Date: Re: truncate tool - must be root?
- Previous by thread: Re: truncate tool - must be root?
- Next by thread: Re: truncate tool - must be root?
- Index(es):
Relevant Pages
|
|