Co robi CHOWN użycie. Konsola login name located in /etc/passwd . chown also accepts users in the.

Czy przydatne?

Polecenie chown

Wykonanie, użycie: Change the ownership of one or more files to newowner. newowner is either a user ID number or a login name located in /etc/passwd. chown also accepts users in the form newowner:newgroup or newowner.newgroup. The last two forms change the group ownership as well. If no owner is specified, the owner is unchanged. With a period or colon but no group, the group is changed to that of the new owner. Only the current owner of a file or a privileged user may change the owner

Opcje wykonania chown w konsoli

-c, --changes

Print information about files that are changed.

--dereference

Follow symbolic links.

-f, --silent, --quiet

Do not print error messages about files that cannot be changed.

-h, --no-dereference

Change the ownership of each symbolic link (on systems that allow it), rather than the referenced file.

-v, --verbose

Print information about all files that chown attempts to change, whether or not they are actually changed.

-R, --recursive

Traverse subdirectories recursively, applying changes.

--reference=filename

Change owner to the owner of filename instead of specifying a new owner explicitly.

--help

Print help message and then exit.

--version

Print version information and then exit.

Przykłady chown działanie w Słownik polecenie C

Przykład CHOWN użycie :
Jak użyć cdparanoia records Compact Disc audio files as WAV, AIFF, AIFF-C, or raw format files. It uses additional data-verification and sound-improvement algorithms to make the process more reliable and is co to jest.
Przykład CHOWN użycie :
Jak użyć Record data or audio compact discs. This program normally requires root access. It has a large number of options and settings. A number of useful examples can be found in the manpage definicja.
Przykład CHOWN użycie :
Jak użyć Copy file archives from or to tape or disk, or to another location on the local machine. Each of the three flags -i , -o , or -p accepts different options co znaczy.
Przykład CHOWN użycie :
Jak użyć filter that handles reverse linefeeds and escape characters, allowing output from tbl or nroff to appear in reasonable form on a terminal. Put half-line characters (e.g., subscripts or superscripts słownik.
Przykład CHOWN użycie :
Jak użyć or copy one or more files to the same names under directory . If the destination is an existing file, the file is overwritten; if the destination is an existing directory, the file is copied into znaczenie.