LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-12-2004, 11:35 AM   #1
lord-darkness
LQ Newbie
 
Registered: Sep 2003
Location: Far away..
Distribution: suse Linux 9.1 Professional
Posts: 10

Rep: Reputation: 0
Only root access for mounted harddisks


Hi to everyone!


I have a big problem with my SuSE Linux 9.0 and my NTFS-partions...

I can mount them without problems, unmount and stuff, but only root is able to accsses the partitions.

In my fstab are lines like this for all my ntfs partions:

/dev/hda1 /media/windows/C ntfs noauto,user,ro,exec 0 0

So, where is the problem? why cant normal users accsses the partions?
Why cant I use chmod to give accsess-rights like 777 or 755?


Please help! I'm totally frustrated!

 
Old 04-12-2004, 11:45 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Code:
/dev/hda1 /media/windows/C ntfs noauto,owner,users,exec,ro 0 0

try this........

Last edited by 320mb; 04-12-2004 at 11:46 AM.
 
Old 04-12-2004, 12:07 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
(when I looked there was nothing to try) try this:
/dev/hda1 /media/windows/C ntfs umask=0,noauto,exec,ro 0 0
This sets to '777'. 'chmod' won't work on Windows drives. 'noauto' causes the drive to not be mounted on bootup (remove it if you don't want this). 'owner' only lets root mount. 'users' is for letting regular users mount and unmount (put that in if you want, but if it's being mounted automatically on bootup it's not needed).
 
Old 04-12-2004, 12:13 PM   #4
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
I'm not quite sure of that, as i'm not in my PC, but you can also add uid=xxx to fstab file, xxx meaning your normal user ID (mine i think is 500 or 501)
Try also to do a 'chown user:user /media/windows/C' (user is of course your username)

Hope it helps
 
Old 04-12-2004, 12:17 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
'chown' won't work. 'uid=' sets the ownership of the files to the referenced user. You can put the name instead of the id if you want: 'uid=jdoe'.
 
Old 04-12-2004, 12:45 PM   #6
lord-darkness
LQ Newbie
 
Registered: Sep 2003
Location: Far away..
Distribution: suse Linux 9.1 Professional
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks!

Thanks to U all !

I'll try this later...


Succes or Unsucces will follow...
 
Old 04-12-2004, 01:05 PM   #7
lord-darkness
LQ Newbie
 
Registered: Sep 2003
Location: Far away..
Distribution: suse Linux 9.1 Professional
Posts: 10

Original Poster
Rep: Reputation: 0
SUCCESS!!

Great!

THX again to you all, espacially to aaa. your version was right for my Linux (Suse 9.0).

That version 320mb posted was not working!



See you.....
 
  


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
cant access mounted partition alaios Linux - Newbie 4 07-26-2005 08:44 AM
Access on mounted device!? mindspin Fedora 1 12-18-2004 06:47 AM
How to give non-root users access to mounted partitions? black hole sun Linux - Software 5 10-28-2004 05:52 PM
Can't access mounted partition? ZaijiaN Linux - Newbie 7 02-20-2004 04:33 PM
can only access mounted partitions as root true_atlantis Linux - Newbie 2 12-25-2003 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:19 AM.

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