Jump to content

NTFS External HDD mount problem / SSH


Guest Helodia
 Share

Recommended Posts

Guest Helodia

Hi,

 

I just installed Mandriva with KDE. It works quite well but I cannot mount my external USB HDD (2 NTFS partitions) as a user. I just want to be able to read these partitions.

 

It works perfectly as root but I cannot access it with other users. I already try to edit fstab, to mount with "-o user" option, to edit permission manually, etc. Nothing works ! :wall:

 

Another problem : I asked the same question to my brother, who tried to help me by taking control of my PC but he did not achived to do it (he has Ubuntu I think). He tries with SSH. I installed SSHD, run it but we cannot log in. (even me with "ssh fakeuser@localhost" doens not work : he asks for a password and it says always that the password is bad.

Edited by Helodia
Link to comment
Share on other sites

To get read access by a normal user add the uid option in your fstab file (eg: uid=500 where 500 is the user id).

 

Regarding the ssh problem you have to use

ssh -l user "remote computer"

and then enter the log in password for that user.

Edited by Soka
Link to comment
Share on other sites

What did you set your security level at? If you're not sure, open a console and run:

 

$ su

<enter root password>

# draksec

 

Mandriva's graphical security application, draksec, will open a window. Try reseting your security level to "Standard" and see if that helps.

 

The problem is that you are dealing with external hard drives here which don't have persistent settings in fstab that you can edit. Such drives are dynamically mounted when attached and powered on and a transient fstab entry is auto-generated for the device according to certain "udev rules" in mdv 2005 and 2006. For 2007, there is no entry in fstab for dynamically mounted drives so there shouldn't be anything to edit. When the device is removed, the fstab entry should disappear. There may be some ways around this problem but I'm hoping that resetting your security level to "Standard" will solve the problem.

Edited by pmpatrick
Link to comment
Share on other sites

Guest Helodia
For 2007, there is no entry in fstab for dynamically mounted drives so there shouldn't be anything to edit. When the device is removed, the fstab entry should disappear. There may be some ways around this problem but I'm hoping that resetting your security level to "Standard" will solve the problem.

 

I was in "High" security mode and I tried yesterday standard and poor. Do I have to logout / login again for these change to make an effect ?

 

Could you already explain or give a link to an explanation of your "long" solution ?

 

Thanks,

Helodia ;)

Link to comment
Share on other sites

Try rebooting with the lower security setting and see if it works. If not, I think you would have to delve into the udev rules in /etc/udev/rules.d which are all XML configuration files. Those files should control mounting behavior. You could also try making yourself a member of the "disk" group since any usb drive device files generated by udev would probably be members of the "disk" group.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...