LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-14-2012, 05:07 AM   #1
Mohammads
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
Unhappy Problem on Mounting drives on Ubuntu11.10 ...!?


Hello ,
*-I mounted my partitions during "Ubuntu 11.10" instalation .
*-They were mounted and work .
*-Because of some reason , I created a new account and deleted the first account .
*-Now , when I want to open one of them , this error make me feeling bad :
"You do not have the permissions necessary to view the contents of "Mohammad"." . It doesn't open.
(I updated my Ubuntu,I wont reinstall it).
*-What should I do ? Help me , please...

Last edited by Mohammads; 01-14-2012 at 12:43 PM.
 
Old 01-15-2012, 01:06 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and welcome to LinuxQuestions,

If you've created a new account, deleted the other one without taking care of the permissions on the directories and files, then it's only normal that you get this error. Open a root terminal (or do it with sudo) and correct the permissions on the affected files and directories so that your new account has access. If you want to change your account there are other ways to do so instead of bluntly deleting it.

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric
 
Old 01-15-2012, 07:34 AM   #3
Mohammads
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Unhappy correcting the permissions

Hello Eric ,

Thank you ,but I don't know how to "correct the permissions"?
can you explain it obviously ?

Thanks again.
 
Old 01-15-2012, 09:36 AM   #4
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
Since you have created a new account and deleted the old account completely, you might want to take ownership of the files completely. In a terminal, type
Code:
 sudo chown -R new_username foldername
here, the foldername is the one whose contents you are trying to open.
 
Old 01-16-2012, 01:22 AM   #5
Mohammads
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
I entered this in terminal :
Code:
sudo chown -R lpc2478 /Drives
There is no change , just a lock icon appears on mounted folders(partitions)
and previous error.
 
Old 01-16-2012, 11:46 AM   #6
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
Can you navigate in to /Drives and see your old home folder? If so, try

Code:
sudo chmod u+rw old_home
or try using the command you have previously used. Either of them should work.

If you are unable to use sudo, I would suggest
Code:
 sudo bash
and try navigating in to the folder and then changing the permissions. I do not if this would help. sudo bash simply gives you a root shell.

try! I hope this will help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrading to ubuntu11.10 from ubuntu11.04 using .iso on harddisk without burning bant4u Linux - Newbie 1 12-12-2011 11:09 PM
Problem in mounting the ntfs drives s_ranjan_iway Linux - Newbie 1 01-22-2009 09:23 AM
Problem in Mounting Drives SBN Linux - General 4 02-04-2008 06:02 PM
Problem in mounting drives dppl2000 Linux - General 3 04-17-2006 08:16 AM
**update** problem with mounting SATA drives edM Slackware 2 04-05-2006 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration