Accidentally moved root into home directory [closed]
Clash 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:
Any expert help would be much appreciated!
permissions sudo users root
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
add a comment |Â
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:
Any expert help would be much appreciated!
permissions sudo users root
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
Wow, this is quite odd! Are you sure you cannot move root back with the command line andsudo
?
â 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, usesudo
to elevate your access and it depends but IâÂÂd guess youâÂÂd usesudo 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
add a comment |Â
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:
Any expert help would be much appreciated!
permissions sudo users root
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:
Any expert help would be much appreciated!
permissions sudo users root
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
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
Wow, this is quite odd! Are you sure you cannot move root back with the command line andsudo
?
â 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, usesudo
to elevate your access and it depends but IâÂÂd guess youâÂÂd usesudo 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
add a comment |Â
Wow, this is quite odd! Are you sure you cannot move root back with the command line andsudo
?
â 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, usesudo
to elevate your access and it depends but IâÂÂd guess youâÂÂd usesudo 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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 usesudo 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