Usage  smchown.(sh/bat) <options> <command options>
  Change subtree or document owner and group.
  
Options for SEPDB connection  

  -?,  --help                # this help.
  -h , --host <host>         # specifies the host name.
			       if missing will use localhost;
  -p , --port <port>         # specifies the port number.
	                       if missing will use 10288;
  -d , --dbname <database>   # specifies SEP database name for your 
                               connection.
			       database name is required;
  -u , --user <username>     # specifies the username for SEPDB connection.
			       if missing will use guest;
  -P , --passwd <password>   # specifies the password for SEPDB connection.
		               if missing will use guest;
  -s , --security <security> # specifies the security type for 
                               SEPDB connection.
			       The secutity type must be   jsse or ptls.
			       If missing the connection is opened without 
			       security;

Command options  
	 
  -R, --recursive            # change owner in specified subtree recursively;
  -v, --verbose              # output a diagnostic for every file processed;
  [user][.[group]]           # changes the user and/or group ownership of 
                               each given document.
			         If only user name is given, that user is 
			       made the owner of each given document, and 
			       the documents' group is not changed.
		                 If the user name is followed by a dot and 
			       a group name, with no space between them, 
			       the group ownership of the documents is 
			       changed as well.
				 If a dot but no group name follows the user 
			       name, that user is made the owner of the 
			       documents and the group of the documents is 
			       changed to that user's group.
				 If the dot and group are given, but the user 
			       name is omited, only the group of the 
			       documents is changed;
  <subtree>                  # the subtree (and document id), for changes;

Examples 
  The following examples for SEP database connection, using 'localhost' , 
port '10288', username 'root' and the <root_password>.

  smchown.sh -u root -P rootPWD -d XMLDB crow users/crow/xml/1
    # set user name 'crow' for document '1' in subtree 
      'users/crow/xml'.
      
  smchown.sh -u root -P rootPWD -d XMLDB crow.devel users/crow
    # set username 'crow' and group name 'devel' for 
      subtree 'users/crow'.
      
  smchown.bat -u root -P rootPWD -R -d XMLDB crow. users/crow
    # set username 'crow' and group name 'crow' for all documents 
      in subtree 'users/crow' recursively.

  smchown.bat -u root -P rootPWD -d XMLDB .crow users/crow
    # change group name 'crow' for subtree 'users/crow'.