Managing accessibility to users' home directories
By default, a user's home directory can be accessed only by that user . For shares where the dynamic name of the share is preceded with a tilde (~), you can enable or disable access to users' home directories by Windows administrators or by any other user (public access).
Before you begin
Home directory shares on the storage virtual machine (SVM) must be configured with dynamic share names that are preceded with a tilde (~). The following cases illustrate share naming requirements:
Home directory share name | Example of command to connect to the share |
---|---|
~%d~%w | net use * \\IPaddress\~domain~user /u:credentials |
~%w | net use * \\IPaddress\~user /u:credentials |
~abc~%w | net use * \\IPaddress\abc~user /u:credentials |
Perform the appropriate action:
If you want to enable or disable access to users' home directories to... | Enter the following... |
---|---|
Windows administrators | vserver cifs home-directory modify -vserver vserver_name -is-home-dirs-access-for-admin-enabled {true|false} The default is true . |
Any user (public access) |
|
Example
The following example enables public access to users' home directories: set -privilege advanced vserver cifs home-directory modify -vserver vs1 -is-home-dirs-access-for-public-enabled true set -privilege adminGive documentation feedback