Unable to upload system files (SBC mode)
-
I am currently unable to upload or save changes to existing system files. When I try to upload a file or save a change to one that is already there I get the following error:
Failed to upload bed.g
Operation failed (Reason: Access to the path '/opt/dsf/sd/sys/bed.g' is denied.)I am running a Duet 3 MB6hc with an Rpi in SBC mode. I recently had to reinstall the software on the PI due to a bad SD card. I copied and pasted my old config files into the directory on the PI. Did the folder permissions get screwed up? Is there a command I can run to try to reset the folder permissions?
Thanks
-
Try uploading the config files through DWC.
Does your SD card have free space?
-
@jasbeckett It sounds like your upgrade process was aborted so the permissions for the virtual SD card (for RRF) were not reset. Can you run
sudo apt update
andsudo apt upgrade
and post potential errors you get? You may need to confirm the firmware upgrade of the Duet electronics withY
to finish the upgrade process. -
@chrishamm @Phaedrux
I ended up having to delete the existing config files one by one through DWC and create new ones through DWC. That fixed all access issues. -
@chrishamm I've got the same setup and have the same error. I tried running sudo apt get update and upgrade several times but no luck. I also can't use @jasbeckett 's method because I get that error trying to delete files too. Has there been a fix?
-
@p8blr Maybe a permission problem. Try to run
sudo chown -R dsf:dsf /opt/dsf/sd
via SSH or from a terminal on the SBC itself and check if that fixes it. -
@chrishamm That unfortunately didn't work for me. I ended up backing up my files and reflashing the SD card which ended up fixing the issue. Thanks.