Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

file change-permission

Syntax

Description

Change permission of file.

Options

filename

Filename to change mode.

permission

File permission, either as symbolic (go+rw) or octal (642).

Required Privilege Level

maintenance

Sample Output

file change-permission (Octal Mode)

The following sample command makes a file readable by anyone and writable by the owner only.

file change-permission (Symbolic Mode)

The following sample command makes a file readable or executable by everyone and writable by the owner only.

Release Information

Command introduced before Junos OS Release 7.4.