ЭЛЕКТРОННАЯ БИБЛИОТЕКА КОАПП |
Сборники Художественной, Технической, Справочной, Английской, Нормативной, Исторической, и др. литературы. |
13.6 Modifying OwnershipEvery file (or directory, or device entry, or whatever) in the filesystem has an owner and group. The owner and group of a file determine to whom the owner and group permissions apply (read, write, and/or execute). The owner and group of a file are determined at the time the file is created, but under certain circumstances, you can change them. (The exact circumstances depend on the particular flavor of UNIX you are running: see the chown manpage for details.) The chown(1234, 35, "slate", "granite"); # same as: # chown fred slate granite # chgrp stoners slate granite In Chapter 16, System Database Access, you'll learn how to convert |