IOS File permission (-rwx)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2012 06:41 AM - edited 03-07-2019 09:59 AM
Hi all,
How can I change the IOS file attribute permission in flash (switch 2950/2960) from rwx to r-x in order to protect the IOS from being accidentally deleted.
Thanks in advanced.
Alexandre
- Labels:
-
Other Switching
.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2012 08:25 AM
Hi Alexandre,
You can change the permission for the image before you download from TFTP server (usually /tftpboot on a UNIX workstation)
For download operations, ensure that the permissions on the file are set correctly. The permission on the file should be world-read.
chmod is used to change permissions of a file in the UNIX environment.
PERMISSION COMMAND
U G W
rwx rwx rwx chmod 777 filename
rwx rwx r-x chmod 775 filename
rwx r-x r-x chmod 755 filename
rw- rw- r-- chmod 664 filename
rw- r-- r-- chmod 644 filename
U = User
G = Group
W = World
r = Readable
w = writable
x = executable
- = no permission
Refer:
http://datacreek.net/support/chmod_chart.html
Regards,
Aru
*** Please rate if the post is useful ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2012 07:55 AM
Hi Arumugam,
Thanks for your answer, but I'm asking about an IOS command to change file attributes already stored in the flash of a Cisco switch.
Alexandre
.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2012 01:24 AM
Hi Alexandre,
I didnt see any such kind of IOS command to change the file permission.
Regards,
Aru
*** Please rate if the post is useful ***
