LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2005, 10:11 PM   #1
react
LQ Newbie
 
Registered: Oct 2003
Distribution: ...
Posts: 8

Rep: Reputation: 0
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?
 
Old 03-31-2005, 10:16 PM   #2
Greg Haynes
Member
 
Registered: Oct 2004
Location: Houston, TX
Distribution: Gentoo
Posts: 30

Rep: Reputation: 15
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).
 
Old 04-01-2005, 01:06 AM   #3
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 31
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...
 
Old 04-01-2005, 01:25 AM   #4
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
yes, and remember that generally there´s only read-support for ntfs.
 
Old 04-01-2005, 10:31 AM   #5
Sunil Datta
LQ Newbie
 
Registered: Apr 2005
Location: Jalandhar, Punjab, India.
Distribution: Redhat Linux
Posts: 2

Rep: Reputation: 0
Under Redhat linux 9 u cannot mount ntfs partition.
if u r using other linux flavour let me know along with kernel version.
 
Old 04-01-2005, 12:00 PM   #6
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
also, you can use
$ mount /dev/hda7 /winthingy -o uid=nonroot_user_account
 
Old 04-01-2005, 02:55 PM   #7
Squall
Member
 
Registered: Jan 2004
Location: The land of the free and the home of the brave
Distribution: Slack 10
Posts: 239

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Newbie Question Nicksan Linux - Newbie 5 06-04-2003 04:52 PM
Apache newbie question.. (very newbie question) tarballed Linux - Newbie 1 02-07-2003 08:41 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 12:53 PM
RE: Samba question pls help {Newbie question} Radiouk Linux - Networking 4 06-03-2002 06:40 PM
Security question {newbie question} Radio Linux - Security 3 05-17-2002 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration