The system administrator can change the attribute of a local file or files in a directory.
Enter the permission command with no options to display the contents of the directory and the file attributes.
file
— permission [[attribute] {read-only| read-write}] [[url] string]
A single local file can be specified or the wildcard character (*) can be used to indicate multiple files. If no URL is specified, the command applies to all files in the directory.
The following shows an example of the command syntax. A file with an ‟R” preceding the filename indicate the file is read-only; otherwise, the file is read-write.
[/file "cf3:\"]
A:admin@node-2# permission
cf3:\NVRAM.DAT
cf3:\bof.cfg
cf3:\nvsys.info
cf3:\restcntr.txt
cf3:\.ssh
cf3:\my.txt
[/file "cf3:\"]
A:admin@node-2# permission read-only my.txt
[/file "cf3:\"]
A:admin@node-2# permission
cf3:\NVRAM.DAT
cf3:\bof.cfg
cf3:\nvsys.info
cf3:\restcntr.txt
cf3:\.ssh
R cf3:\my.txt
[/file "cf3:\"]
A:admin@node-2# permission read-only
[/file "cf3:\"]
A:admin@node-2# permission
R cf3:\NVRAM.DAT
R cf3:\bof.cfg
R cf3:\nvsys.info
R cf3:\restcntr.txt
R cf3:\.ssh
R cf3:\my.txt