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.
I added a slave drive to my system from an old distro. I can't access the drive because I don't have permission, even tho I'm set as administrator. Any ideas??
thanks,
reddog
How did you try to access the drive? (I.e., which commands did you use?)
Generally speaking you need to mount the device using the mount commands at some mount point in your file system (created with the mkdir command), for each different partition on the drive, specifying the file system and type of access you need.
If you want the drive automatically mounted, you'll find it easier to put the needed information in /etc/fstb. Here's what my Kubuntu fs table looks like:
Thanx for the reply. Sorry I couldn't get back earlier, my internet access is limited and catch as catch can. I was running the live distro and the drive was installed before starting. Ubuntu recognized the drive and it was listed but my old home directories were access denied. I finally dug out my old copy of Running Linux and looked up the chmod command. Then after cd'ing into the dir above the locked directory: /media/disk/home, I did:
sudo chmod 755 directory
Then the directory tree was availble to me. This was an old hard drive from my old system. The computer died and I was wondering if my old files were ok. They are!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.