5.28.1.4 Permission

Description:

Use this command to change the permission of the files stored on flash.

Command Syntax:

permission fname <fname-val> type rorwpr [version <version-val>]

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 rorwpr

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

IP DSLAM

681