| CHOWN(1) | Các câu lệnh | CHOWN(1) |
chown - change file owner and group
chown [TÙY_CHỌN]…
[NGƯỜI_SỞ_HỮU][:[NHÓM]]
TẬP_TIN…
chown [TÙY_CHỌN]…
--reference=TẬP_TIN_TC TẬP_TIN…
This manual page documents the GNU version of chown. chown changes the user and/or group ownership of each given file. If only an owner (a user name or numeric user ID) is given, that user is made the owner of each given file, and the files' group is not changed. If the owner is followed by a colon and a group name (or numeric group ID), with no spaces between them, the group ownership of the files is changed as well. If a colon but no group name follows the user name, that user is made the owner of the files and the group of the files is changed to that user's login group. If the colon and group are given, but the owner is omitted, only the group of the files is changed; in this case, chown performs the same function as chgrp. If only a colon is given, or if the entire operand is empty, neither the owner nor the group is changed.
Thay đổi chủ sở hữu và/hoặc nhóm của từng TẬP_TIN thành NGƯỜI_SỞ_HỮU và/hoặc NHÓM. Với tùy chọn --reference, thay đổi chủ và nhóm của từng TẬP_TIN giống với TẬP_TIN_TC.
The following options modify how a hierarchy is traversed when the -R option is also specified. If more than one is specified, only the final one takes effect. -P is the default.
Chủ sở hữu không thay nếu bị thiếu. Nhóm không thay đổi nếu thiếu, nhưng bị thay đổi thành nhóm đăng nhập nếu đặt một dấu hai chấm “:” sau CHỦ_SỞ_HỮU tượng trưng. CHỦ_SỞ_HỮU và NHÓM có thể là các giá trị số cũng như tượng trưng.
Viết bởi David MacKenzie và Jim Meyering.
Trợ giúp trực tuyến GNU coreutils:
<https://www.gnu.org/software/coreutils/>
Report any translation bugs to
<https://translationproject.org/team/>
Tài liệu đầy đủ
có tại: <https://www.gnu.org/software/coreutils/chown>
hoặc sẵn có nội bộ thông qua: info
'(coreutils) chown invocation'
Packaged by Debian (9.7-2)
Copyright © 2025 Free Software Foundation, Inc.
Giấy phép GPL pb3+ : Giấy phép Công
cộng GNU phiên bản 3 hay sau
<https://gnu.org/licenses/gpl.html>.
Đây là phần mềm tự do: bạn
có quyền sửa đổi và phát
hành lại nó.
KHÔNG CÓ BẢO HÀNH GÌ CẢ, với
điều khiển được pháp
luật cho phép.
Bản dịch tiếng Việt của trang hướng dẫn này do
thực hiện.
Bản dịch này là Tài liệu Miễn phí; đọc Giấy phép Công cộng GNU Phiên bản 3 hoặc mới hơn để biết các điều khoản bản quyền. Chúng tôi cho rằng KHÔNG CÓ TRÁCH NHIỆM PHÁP LÝ.
Nếu bạn tìm thấy một số sai sót trong bản dịch của trang hướng dẫn này, vui lòng gửi thư đến TODO.
| Tháng 4 năm 2025 | GNU coreutils 9.7 |