File Management Commands
page 7-28 OmniSwitch 6250 CLI Reference Guide November 2009
attrib
Changes the write privileges for a specified file.
attrib {+w | -w} [path/]file
Syntax Definitions
+w Enables read-write privileges for the file.
-w Disables write privileges for the file—i.e., the file becomes read-only.
path/ The path containing the file for which write privileges are being
changed. Be sure to separate path directories and file names with a slash
(/). Up to 255 characters may be used for the specified path. Also, a path
may contain a maximum of thirty-two (32) directories.
file The name of the file for which write privileges are being changed.
Defaults
N/A
Platforms Supported
OmniSwitch 6250
Usage Guidelines
This command can also be used on the secondary CMM.
Examples
-> attrib +w vlan.config
-> attrib -w flash/backup_configs/vlan.config
Release History
Release 6.6.1; command was introduced.
Related Commands
MIB Objects
systemServices
systemServicesArg1
systemServicesAction
chmod Changes the write privileges for a specified file.