Pull to refresh

Comments 4

Большое спасибо за эту серию статей, теперь, надеюсь, я все же попробую собрать свой LFS для повышения скилла.
# chown -R root:root $LFS/tools

если юзер и группа одинаковы, можно просто:
# chown -R root. $LFS/tools
только двоеточие, а не точка
$ cd `mktemp -d`
$ /tmp/tmp.1kwjzwz9XX$ chown -R victor. .
$ /tmp/tmp.1kwjzwz9XX$ ls -ld .
drwx------ 2 victor victor 4096 Май 18 22:09 .
Some older scripts may still use '.' in place of the ':' separator. POSIX 1003.1-2001 (see Standards conformance) does not require support for that, but for backward compatibility GNU chown supports '.' so long as no ambiguity results. New scripts should avoid the use of '.' because it is not portable, and because it has undesirable results if the entire owner'.'group happens to identify a user whose name contains '.'.
Sign up to leave a comment.

Articles