私の名前も数字だけだから、いろんなところで事故を起こして楽しい。
$ chown 2510 test$ ls -al test-rw-r--r-- 1 2510 wheel 0 Jan 23 17:02 test$ ls -aln test-rw-r--r-- 1 1001 0 0 Jan 23 17:02 test
数字のUIDが2510な人にchownしようとしたら、名前を探してあげないといけないのか。めんどいね。
> The owner may be either a numeric user ID or a user name. If a user name is also a numeric user ID, the operand is used as a user name.
https://man.freebsd.org/cgi/man.cgi?query=chown
Experimental private instance. Running on FreeBSD!
数字のUIDが2510な人にchownしようとしたら、名前を探してあげないといけないのか。めんどいね。
> The owner may be either a numeric user ID or a user name. If a user name is also a numeric user ID, the operand is used as a user name.
https://man.freebsd.org/cgi/man.cgi?query=chown