LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   newbie question (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-question-308446/)

react 03-31-2005 10:11 PM

newbie question
 
After reading a post named "lots of newbie questions" in hope of finding the answer of my question (accessing mounted ntfs hd) I managed to mount the drive under root and switched back to my regular user account and tryed to go into the mounted drive, (/windows) but it has a lock on it, how do i access this from my regular user account?

Greg Haynes 03-31-2005 10:16 PM

you have to login as su. if you dont mind doing it in console just type su then your root pass and do your thing. Since you said theres a lock im going to assume your using kde. In which case there is a program called file browser (super user mode).

enemorales 04-01-2005 01:06 AM

If you are working a lot with the NTFS partition, perhaps you want to make normal users able to mount the unit. Yo do so, you need to modify the /etc/fstab file.

Let's say that you mount with

Code:

mount -t ntfs -o ro /dev/hdaX /mnt/Y
Notice that I put a "-o ro" as it is not recommended to write in a NTFS partition. Then you have to add

Code:

/dev/hdaX  /mnt/Y ntfs noauto,ro,user 0 0
to your /etc/fstab file.

I don't have ntfs partitions, so I don't know it you need additional options when you mount a NTFS unit. If so (as you say you were able to mount it) add them separated with commas to de "noauto,ro,user" part.

I hopw this helps you...

overlord73 04-01-2005 01:25 AM

yes, and remember that generally there´s only read-support for ntfs.

Sunil Datta 04-01-2005 10:31 AM

Under Redhat linux 9 u cannot mount ntfs partition.
if u r using other linux flavour let me know along with kernel version.

jonaskoelker 04-01-2005 12:00 PM

also, you can use
$ mount /dev/hda7 /winthingy -o uid=nonroot_user_account

Squall 04-01-2005 02:55 PM

Posting a topic named "Newbie Question" is a horrible way to get attention to your problem. Pick a name that represents your question.


All times are GMT -5. The time now is 03:26 AM.