Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
sermat

mandriva 2008.0 will not mount usb drive [solved]

Recommended Posts

Hi to all. Just installed 2008.0 and it looks excellent. The only thing so far is that when I plug in my USB hard drive, a little window pops up telling me "Permission denied". But when I use command line to mount this drive it mounts perfectly.

Many thanks,

serge.

Edited by sermat

Share this post


Link to post
Share on other sites

Hi scarecrow: I'm sorry for being an idiot here, but when I plug in the USB drive, the only thing that happens is that a window pops up, telling me: "A new medium has been detected. What do you want to do?" So I'm not sure how do I do what you suggested me to do?

 

Again, sorry for my lack of knowledge here.

serge.

Share this post


Link to post
Share on other sites

Mount the device from the command line. Determine the mount point by running this if you don't already know it:

 

$ mount

 

Then as root run:

 

# chmod -R 777 <mount point>

 

That should give the world rwx permissions on the drive. Then to safely remove the device run:

 

# sync

# umount <mount point>

 

and physically remove the drive. Try reinserting it and see if you still get the permission problem.

Share this post


Link to post
Share on other sites

thanks pmpatrick: yes, I followed your instructions to the letter, and no change; i.e., I still get "permission denied" notice.

BUT, I do not want to bug you for help on this item any more. As I mentioned, I can mount my USB hard drive from the command line just fine. I'm just a bit surprised that Mandriva would exhibit this kind of negative behavior. Other distros I tried on this same PC and USB hard drive had no problems mounting it by just plugging the drive in.

Share this post


Link to post
Share on other sites

You say your flash drive is formatted ext3. This means you formatted it on a linux machine. It is likely that in doing so you set it up with root permissions only, hence you accessing only by root in Konsole.

 

Open MCC and go to the section for mounting partitions. You will see it there as an additional drive to your hard drives.

Click on it as seen in the top tabs and then on the flash drives partition. Then click on mountpoint and give it a name of your choice but make sure it is /name and not just name.

Click okay then Mount and then Done. Click Yes to the first of the popup messages you get (one at the beginning and one at the end) and no to the second one.

 

Now open a console and type in kdesu konqueror and click enter. It will ask for your root password so type it in (no visible text) then enter again. After a moment or two Konqueror will open but now it is in root mode. Type a / and enter the selected name you gave to your flash drive to see that anything you have on it can be seen. If ok then go back, do not close.

This time right click on your flash drive icon and select permissions there you can change the permissions as you want. Be sure to put a dot in the bottom left spot so all items in the drive are given the same permissions when you add data later.

 

I recommend going back to the MCC partition section again (with the flash drive still in place) and this time selecting Unmount and then mountpoint again and deleting the /name so it is now blank then ok then Done. Go back to your still root enabled konqueror. Find the flash drive name and right click and select properties on it to make sure it is only 1 to 5 kbs. If it is then it is safe to right click on it again and delete it.

 

I hope this helps. As you can see, the problem is not with Mandriva but with how you set up your flash drive originally.

How do I know ???. I have two flash drives and one is ext3 and the other is fat32 as originally set.

When I did the ext3 repartioning I already new that permissions had to be set correctly so I never had any unexpected problems.

 

One further word of advice. Before removing the Flash drive at anytime always select Remove Safely from the right click menu on the icon.

 

 

Cheers. John.

Share this post


Link to post
Share on other sites

AussieJohn: Thank you so much for taking time to give me such detailed instructions - Very kind of you. OK, just before seeing your reply, I was "fooling around" with couple of things on my own, and here is what solved the problem (well, I did a number of things, and maybe something else contributed to the solution also, but the following is the "thing" that really did it):

 

Open MCC -> Local Disks -> Mange disk partitions, then open the sda (my USB hard drive) tab, then click on Toggle to Expert Mode button and then click on Options button and tick the "user" check box (this allows an ordinary user to mount the file system). And that was it - it WORKS now.

 

Thanks again John for your help.

Best regards to all, and BIG CONGRATULATIONS TO MANDRIVA for an excellent product.

serge.

Share this post


Link to post
Share on other sites

Sounds good and simple. Noted for future reference. :thumbs:

 

No matter how much you learn about Mandriva you will always learn something new from some elses experience. :D

 

Cheers. John.

Share this post


Link to post
Share on other sites
Guest L_Baum

Coming from Ubuntu, I did not pay attention to the MCC (Mandriva Control Center), but it works well.

I could not write to my PCMCIA-Flash-drive, though I have mounted a lot of drives already by changing the fstab. The MCC solved the problem.

 

Thank you.

Share this post


Link to post
Share on other sites
Open MCC -> Local Disks -> Mange disk partitions, then open the sda (my USB hard drive) tab, then click on Toggle to Expert Mode button and then click on Options button and tick the "user" check box (this allows an ordinary user to mount the file system). And that was it - it WORKS now.

 

wowow..it worked..yes..even Ubuntu users are running hard for it.. enormous command line and chmod plays./.MCC done is it easy...

I dont understand why Ubuntu is the number one Distro in hitting,ppl are crazy..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×