chown_chown man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

chown (SunOS)							 chown (SunOS)

NAME
       chown, fchown - Changes the owner and group Ids of a file

SUN OS SYNOPSIS
       int chown(
	       char *path,
	       int owner,
	       int group );
       int fchown(
	       int filedes,
	       int owner,
	       int group );

DIGITAL UNIX SYNOPSIS
       int chown(
	       const char *path,
	       uid_t owner,
	       gid_t group );
       int lchown(
	       const char *path,
	       uid_t owner,
	       gid_t group );
       int fchown(
	       int filedes,
	       uid_t owner,
	       gid_t group );

PARAMETERS
       Specifies the name of the file whose owner ID, group ID, or both are to
       be changed.  When the path parameter refers to  a  symbolic  link,  the
       behaviors of the chown() and the lchown() functions differ. The chown()
       function changes the ownership of the file pointed to by	 the  symbolic
       link.  The lchown() function changes the ownership of the symbolic link
       file itself.  Specifies a valid	open  file  descriptor.	  Specifies  a
       numeric	value  representing  the  owner ID.  Specifies a numeric value
       representing the group ID.

DIFFERENCES
       Declaration changes: owner to uid_t and group to	 gid_t.	 Adds  support
       for symbolic links - it can set errno to ELOOP or ENAMETOOLONG.

RELATED INFORMATION
       Digital UNIX Functions:

	   chown(2) delim off

								 chown (SunOS)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net