4 permission – Planet Technology IP DSLAM IDL-4801 User Manual
Page 681
IP DSLAM
681
5.28.1.4 Permission
Description:
Use this command to change the permission of the files stored on flash.
Command Syntax:
permission fname
Parameters:
Name
Description
fname fname
Name of the file whose permission is to be changed.
Type: mandatory
Valid values: string of up to 128 characters: ('A'-
'Z','a'-'z', '0'-'9', '-','_')
version version
This specifies the version of the file that need to be
applied.
Type: Optional for single version file.
Mandatory for multiple version file.
type ro|rw|pr
This specifies that to what type, ro (read-only), rw
(read-write), or pr (protected), permission of the file is to
be changed.
Type: mandatory
Valid Values : ro | rw | pr
Mode:
Super-User
Example:
$ permission fname /nvram/user/commands.cfg version 1 type ro
Output:
Verbose Mode On
Set Done
Verbose Mode Off
Set Done
Output Fields:
None