05-21-2018 12:09 AM - edited 03-08-2019 03:04 PM
Nexus 7000 :
Need urgent help if any one having any idea. We are in the process of upgrading the switch. Image copied to Active Supervisor Engine. We are trying to copy from active to standby and getting below error. Any help really appreciated.
xxxx# copy bootflash:/n7000-s2-kickstart.6.2.20.bin bootflash://sup-2/
Permission denied. Cannot overwrite existing file.
xxxx# copy bootflash:/n7000-s2-dk9.6.2.20.bin bootflash://sup-2/
Permission denied. Cannot overwrite existing file.
xxxx#
Solved! Go to Solution.
05-28-2018 02:16 AM
Solution :
As we were doing ISSU, manually copy to standby SUP was actually not required. Copied was done by Active Sup to Standby Sup part of upgrade process.
05-21-2018 12:46 AM
Hello,
check if the below applies:
Permissions for file system access should be based on Nexus RBAC
CSCud28770
Description
Symptom:
Users with admin role are getting "Permission denied" when trying to copy files to a directory on bootflash:
Nexus7k# copy bootflash:testfile testdir
file error
Destination: Permission denied
Conditions:
Users on a Nexus switch can run into this situation when the directory on bootflash: had initially been created by a different username via a recursive SCP copy ("scp -r") or via SFTP from a source PC/server. Only the username who copied the directory via SCP/SFTP is able to copy new files into the directory, even though other users might have the same role.
This enhancement is filed to make sure that file access on Nexus follows Role Based Access Control and does not depend on specific usernames.
Workaround:
Workaround when you run into this situation:
- Remove and recreate the directory on bootflash from the nexus CLI.
Workaround to prevent this situation:
- Since SCP/SFTP keep the permissions of the source file, you can change the permissions to drwxrwxrwx before copying it over to the Nexus. With these permissions anyone who has an appropriate Nexus Role will have access.
Customer Visible
Notifications
Save Bug
Open Support Case
05-28-2018 02:16 AM
Solution :
As we were doing ISSU, manually copy to standby SUP was actually not required. Copied was done by Active Sup to Standby Sup part of upgrade process.
02-25-2019 01:57 AM
01-05-2021 08:11 AM
Tried this but it is asking for password when I try to 'su' command.
May I know what could be the password for it?
01-05-2021 08:17 AM
While trying 'su' command it is asking for password
What could be the password for it?
12-11-2023 11:29 PM
Hi @tdoellma, i was wondering what chmod -R 777 /bootflash do?
i encountered this problem but in my case i cannot copy from usb to bootflash. it says exactly:
8F-MKT-N9318-BORDERLEAF-1# copy usb1:nxos64-cs.10.2.6.M.bin bootflash:
file error
Destination: Permission denied
I'm thinking if this fix of yours can solve my case. Thank you!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide