UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
Distribution: Fedora (typically latest release or development release)
Posts: 372
Rep:
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_usernamefoldername
here, the foldername is the one whose contents you are trying to open.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.