Accidentally moved root into home directory [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Very weird situation - I accidently moved root into my home/user folder without really doing anything...I don't quite know how this has happened!! How on earth can this happen with the permissions on root?? I've now been locked out of root.



I almost had a heart attack but I have user access which is good.



However - I'm not sure how I can move the root directory back to / ?? Tried moving it with FileZilla but to no avail.



Here is my directory structure:



enter image description here



Any expert help would be much appreciated!







share|improve this question












closed as off-topic by Kusalananda, roaima, Jeff Schaller, G-Man, slm♦ Jul 27 at 17:28


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Kusalananda, roaima, Jeff Schaller, slm
If this question can be reworded to fit the rules in the help center, please edit the question.












  • Wow, this is quite odd! Are you sure you cannot move root back with the command line and sudo?
    – Stan Strum
    Nov 4 '17 at 23:54











  • Hi Stan - I don't even remember moving root! Crazy - no I haven't tried with sudo - how could I do that from within "user"
    – GCien
    Nov 5 '17 at 0:00






  • 3




    Do you have command line access? If so, use sudo to elevate your access and it depends but I’d guess you’d use sudo mv /home/whatever/root /
    – Stan Strum
    Nov 5 '17 at 0:01











  • This worked - was really worried about doing it to be honest! How on earth did I move it? Never mind :)
    – GCien
    Nov 5 '17 at 0:07










  • Great, have a nice day
    – Stan Strum
    Nov 5 '17 at 0:08














up vote
1
down vote

favorite












Very weird situation - I accidently moved root into my home/user folder without really doing anything...I don't quite know how this has happened!! How on earth can this happen with the permissions on root?? I've now been locked out of root.



I almost had a heart attack but I have user access which is good.



However - I'm not sure how I can move the root directory back to / ?? Tried moving it with FileZilla but to no avail.



Here is my directory structure:



enter image description here



Any expert help would be much appreciated!







share|improve this question












closed as off-topic by Kusalananda, roaima, Jeff Schaller, G-Man, slm♦ Jul 27 at 17:28


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Kusalananda, roaima, Jeff Schaller, slm
If this question can be reworded to fit the rules in the help center, please edit the question.












  • Wow, this is quite odd! Are you sure you cannot move root back with the command line and sudo?
    – Stan Strum
    Nov 4 '17 at 23:54











  • Hi Stan - I don't even remember moving root! Crazy - no I haven't tried with sudo - how could I do that from within "user"
    – GCien
    Nov 5 '17 at 0:00






  • 3




    Do you have command line access? If so, use sudo to elevate your access and it depends but I’d guess you’d use sudo mv /home/whatever/root /
    – Stan Strum
    Nov 5 '17 at 0:01











  • This worked - was really worried about doing it to be honest! How on earth did I move it? Never mind :)
    – GCien
    Nov 5 '17 at 0:07










  • Great, have a nice day
    – Stan Strum
    Nov 5 '17 at 0:08












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Very weird situation - I accidently moved root into my home/user folder without really doing anything...I don't quite know how this has happened!! How on earth can this happen with the permissions on root?? I've now been locked out of root.



I almost had a heart attack but I have user access which is good.



However - I'm not sure how I can move the root directory back to / ?? Tried moving it with FileZilla but to no avail.



Here is my directory structure:



enter image description here



Any expert help would be much appreciated!







share|improve this question












Very weird situation - I accidently moved root into my home/user folder without really doing anything...I don't quite know how this has happened!! How on earth can this happen with the permissions on root?? I've now been locked out of root.



I almost had a heart attack but I have user access which is good.



However - I'm not sure how I can move the root directory back to / ?? Tried moving it with FileZilla but to no avail.



Here is my directory structure:



enter image description here



Any expert help would be much appreciated!









share|improve this question











share|improve this question




share|improve this question










asked Nov 4 '17 at 23:53









GCien

1092




1092




closed as off-topic by Kusalananda, roaima, Jeff Schaller, G-Man, slm♦ Jul 27 at 17:28


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Kusalananda, roaima, Jeff Schaller, slm
If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by Kusalananda, roaima, Jeff Schaller, G-Man, slm♦ Jul 27 at 17:28


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Kusalananda, roaima, Jeff Schaller, slm
If this question can be reworded to fit the rules in the help center, please edit the question.











  • Wow, this is quite odd! Are you sure you cannot move root back with the command line and sudo?
    – Stan Strum
    Nov 4 '17 at 23:54











  • Hi Stan - I don't even remember moving root! Crazy - no I haven't tried with sudo - how could I do that from within "user"
    – GCien
    Nov 5 '17 at 0:00






  • 3




    Do you have command line access? If so, use sudo to elevate your access and it depends but I’d guess you’d use sudo mv /home/whatever/root /
    – Stan Strum
    Nov 5 '17 at 0:01











  • This worked - was really worried about doing it to be honest! How on earth did I move it? Never mind :)
    – GCien
    Nov 5 '17 at 0:07










  • Great, have a nice day
    – Stan Strum
    Nov 5 '17 at 0:08
















  • Wow, this is quite odd! Are you sure you cannot move root back with the command line and sudo?
    – Stan Strum
    Nov 4 '17 at 23:54











  • Hi Stan - I don't even remember moving root! Crazy - no I haven't tried with sudo - how could I do that from within "user"
    – GCien
    Nov 5 '17 at 0:00






  • 3




    Do you have command line access? If so, use sudo to elevate your access and it depends but I’d guess you’d use sudo mv /home/whatever/root /
    – Stan Strum
    Nov 5 '17 at 0:01











  • This worked - was really worried about doing it to be honest! How on earth did I move it? Never mind :)
    – GCien
    Nov 5 '17 at 0:07










  • Great, have a nice day
    – Stan Strum
    Nov 5 '17 at 0:08















Wow, this is quite odd! Are you sure you cannot move root back with the command line and sudo?
– Stan Strum
Nov 4 '17 at 23:54





Wow, this is quite odd! Are you sure you cannot move root back with the command line and sudo?
– Stan Strum
Nov 4 '17 at 23:54













Hi Stan - I don't even remember moving root! Crazy - no I haven't tried with sudo - how could I do that from within "user"
– GCien
Nov 5 '17 at 0:00




Hi Stan - I don't even remember moving root! Crazy - no I haven't tried with sudo - how could I do that from within "user"
– GCien
Nov 5 '17 at 0:00




3




3




Do you have command line access? If so, use sudo to elevate your access and it depends but I’d guess you’d use sudo mv /home/whatever/root /
– Stan Strum
Nov 5 '17 at 0:01





Do you have command line access? If so, use sudo to elevate your access and it depends but I’d guess you’d use sudo mv /home/whatever/root /
– Stan Strum
Nov 5 '17 at 0:01













This worked - was really worried about doing it to be honest! How on earth did I move it? Never mind :)
– GCien
Nov 5 '17 at 0:07




This worked - was really worried about doing it to be honest! How on earth did I move it? Never mind :)
– GCien
Nov 5 '17 at 0:07












Great, have a nice day
– Stan Strum
Nov 5 '17 at 0:08




Great, have a nice day
– Stan Strum
Nov 5 '17 at 0:08















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?