Hi everybody!
I'm running FreeBSD 9.1-RELEASE-p3 (i386), and have encountered a strange issue with the chown and chgrp commands, here are some examples:
The same issue appears when running above command under a regular user as well as under root.
Not sure whether this is relevant, but I'm using
Here is output of
Any suggestions on where to look for a reason are welcome.
Thanks in advance.
I'm running FreeBSD 9.1-RELEASE-p3 (i386), and have encountered a strange issue with the chown and chgrp commands, here are some examples:
Code:
> chown user:group some_file
chown: illegal option -- -
usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...
chown [-fhvx] [-R [-H | -L | -P]] :group file ...
> chgrp -R group some_dir
chgrp: illegal option -- -
usage: chgrp [-fhvx] [-R [-H | -L | -P]] group file ...
The same issue appears when running above command under a regular user as well as under root.
Not sure whether this is relevant, but I'm using
sudo -s
to become root. I use bash as a shell.Here is output of
uname -a
:
Code:
FreeBSD server.net 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:11:52 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
Any suggestions on where to look for a reason are welcome.
Thanks in advance.