truncate tool - must be root?

2006-05-30 Thread Eric Anderson
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 -- Eric AndersonSr. Systems AdministratorCentaur

Re: truncate tool - must be root?

2006-05-30 Thread David S. Madole
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

Re: truncate tool - must be root?

2006-05-30 Thread Maxim Konovalov
On Tue, 30 May 2006, 10:59-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 :) Works for me: $ truncate -s 100g 100g $ ls -l 100g -rw-r--r-- 1 maxim maxim 107374182400

Re: truncate tool - must be root?

2006-05-30 Thread Gergely CZUCZY
On Tue, May 30, 2006 at 12:11:53PM -0400, 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

Re: truncate tool - must be root?

2006-05-30 Thread Ruslan Ermilov
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 :) If you speak about truncate(1), it works here under non-root: $ uname -sr FreeBSD

Re: truncate tool - must be root?

2006-05-30 Thread Wesley Shields
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

Re: truncate tool - must be root?

2006-05-30 Thread Eric Anderson
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

Re: truncate tool - must be root?

2006-05-30 Thread Fabian Keil
Eric Anderson [EMAIL PROTECTED] 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 :) What exactly is truncate(8)? On FreeBSD 6.1-STABLE I only have truncate(1) and it doesn't show any problems.

Re: truncate tool - must be root?

2006-05-30 Thread Eric Anderson
Fabian Keil wrote: Eric Anderson [EMAIL PROTECTED] 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 :) What exactly is truncate(8)? On FreeBSD 6.1-STABLE I only have truncate(1) and it