Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Removing remnants of new user


  • Please log in to reply
2 replies to this topic

#1 rozzer

rozzer

  • Members
  • 250 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:South Africa
  • Local time:12:30 AM

Posted 29 November 2015 - 10:01 AM

Linux Mint 17.1

Hi

I recently had to create a new user for the purpose of checking some features

on my login name, all was fine and I removed the new user via the Users & Groups

option in the menu, all went fine but I have recently discovered that there is a folder

in / media which has 2 folders, mine and the user I created and then removed. The

new user folder has an X in the bottom right corner of the folder and it will not let me

access it or delete it, it also shows up in ls /media in the Terminal, I didn't want to try to

remove it myself for fear of removing both by accident. Any advice on how to remove it.

 

Thanks in advance



BC AdBot (Login to Remove)

 


#2 Al1000

Al1000

  • Global Moderator
  • 7,595 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:11:30 PM

Posted 29 November 2015 - 10:28 AM

Hi rozzer,

 

You just need root permissions.

 

It's probably possible to open your file manager as root and delete it that way. Personally I would delete it using rm in the terminal. Because you're deleting a directory, you need to add the recursive option, which is -R

sudo rm -R /media/newuser

...swapping "newuser" for the name of the user.

 



#3 rozzer

rozzer
  • Topic Starter

  • Members
  • 250 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:South Africa
  • Local time:12:30 AM

Posted 30 November 2015 - 01:55 AM

Hi Al1000

 

Thanks a million, Worked a treat

 

Cheers






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users