truncate tool - must be root?
Maxim Konovalov
maxim at macomnet.ru
Tue May 30 09:12:35 PDT 2006
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 May 30 20:11 100g
$ id
uid=1001(maxim) gid=1001(maxim) groups=1001(maxim), 0(wheel),
5(operator), 68(dialer)
--
Maxim Konovalov
More information about the freebsd-hackers
mailing list