Quantcast
Channel: Question and Answer » root-filesystem
Viewing all articles
Browse latest Browse all 13

I've moved my root directory accidentally to a folder, can't figure out how to move it back using busybox [closed]

$
0
0

I’ve moved my root directory into a website folder in /var/www. Have rebooted my server and am now in a Busybox rescue environment where I have found my root files in the website folder that I tried to move some other files to.

I can now see my root folder as /root in busybox and want to move my files from the /var/www/path/to/new/bin folder to /root and am hoping that will fix my server completely.

However using mv command keeps giving me
mv: Can't rename '/var/www/website.com/public_html/drupal/bin': Read-only file system.
when moving all the root folders and was wondering how using Busybox I can move these files as there is no su or sudo to use the root user to move the files.

How do I become root user in BusyBox to move these files successfully and will just moving the files be ok and fix my server from this issue?


Viewing all articles
Browse latest Browse all 13

Trending Articles