[SOLVED] Can no remove symlinks, Busybox SSH shell
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think I managed to deal with this issue: this symlinks are actually firmware feature, firmware does not allow to remove or rename them, and file names are predefined. I needed to replace those files (first removing them). When files are properly named, they all are symlinks.
that's cable modem. I have no goal to rewrite the code, I just trying to figure how to replace the files properly. Sometimes I got ready symlinks after uploading new files, sometimes it does not. I have no source code. I can manage boot process via console, and can view file system via SFTP.
the question is "Why are you trying to modify the symlinks?"
I think if you succeed your cable modem will no longer function correctly
I need replace files, that's all. The files intended to be replaceable, I know this. I need to remove old and upload new files. I find that one of the files can not be downoaded. That's strange, is that something related to linux permissions? When I remove files from ssh, I remove only symlinks, not actual files? Where then actual files stored? (as symlinks are restored after reboot).
Mainly for testing and researching, for improving it. That's test device. I know what is symlinks. But the Linux isn't what I know well. I flashed device more than once, successfully, and didn't brick it. Removing/replacing symlinks can not brick cable modem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.