Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

Purpose: To change the ownership of a file or directory.
Format: OWNER [FILE] {<file | pattern>} [OWNER] <name&nbnsp;or number> [ALL] [QUIET]
Each file or directory bears information which describes who owns it. This information can be displayed by the LIST command and is important if that file or directory is made accessible through a networked file system.

The OWNER command will change the ownership of one or more files or directories. The 'owner' must be given either as a name or a number. The file system will have to understand the name given, or you will see an error message to this effect. If you know in advance which numeric owner ID should be used in place of a name, you can provide this instead. Note that owner names cannot be longer than 31 characters and that numeric owner IDs must be in the range 0..65535. An empty name given for the owner will remove the ownership information.

If the ALL argument is specified, OWNER will change the ownership of all the files in the specified directory.

If the QUIET argument is specified, screen output is suppressed. The local shell variable _Verbosity with a negative value has the same effect.

Example 1:

3.OS4:> OWNER textfile admin assigns the ownership of "textfile" to the user "admin".

Example 2:

3.OS4:> OWNER textfile "" removes any ownership information from "textfile".

Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.

Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.