LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-23-2002, 05:23 PM   #1
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
How do i get users to read my NTFS drive!!


I read through a ton of man pages, and i am coming back here for a desperate attempt to fix my problem.

I have these two NTFS partitions/drives added to the fstab:

/media/windows
/media/windows_backup

Both of them work when in root mode and in the console, but no matter what chown(s)/chmods/ editing in the fstab options i do i cant get the users to READ the folder in the konquerer.

Last edited by trickykid; 01-23-2002 at 05:25 PM.
 
Old 01-23-2002, 05:26 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
what does your fstab file look like? how are these partitions setup ?? are they on a different hard drive ?? can they read the drives from command line and not just from konq ??

Last edited by trickykid; 01-23-2002 at 05:28 PM.
 
Old 01-23-2002, 05:31 PM   #3
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Original Poster
Rep: Reputation: 30
Yeah it works from as 'root'. Here is my fstab file:

/dev/hda1 /media/windows ntfs ro,noauto,user,exec 0 0
/dev/hdb1 /media/windows_backup ntfs ro,noauto,user,exec 0 0
 
Old 01-23-2002, 05:36 PM   #4
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Original Poster
Rep: Reputation: 30
Quote:
Windows

A fatal exception OE has occured on your computer using the
shittiest OS ever made. The current application will be terminated.

* Press any key to terminate the current application
* Press Ctrl+Alt+Del to restart your computer. You will lose any unsaved data in all applications.

Press any key to continue...

Use Linux, its Better and its Free.




ROFL

Last edited by therion12; 01-23-2002 at 05:38 PM.
 
Old 01-23-2002, 05:41 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
and what are your permissions on hda1 and hdb2 ?? you could try changing those if only root has access, etc.

I had nothing else to put on my homepage right now.
 
Old 01-23-2002, 05:47 PM   #6
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Original Poster
Rep: Reputation: 30
I dont know.
 
Old 01-23-2002, 06:00 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
a " I don't know" doesn't get us very far..
 
Old 01-23-2002, 06:16 PM   #8
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Original Poster
Rep: Reputation: 30
I dont know the command to check the permissions for it.
 
Old 01-23-2002, 06:20 PM   #9
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Are the permissions on the mount point set to allow users to read the mount point.

Or, to make it simple, does 'ls -l /media/windows'
list something like:

drwxr-x--x 2 root root 1024 Jun 10 2001 /media/windows

or

drwxr-xr-x 2 root root 1024 Jun 10 2001 /media/windows

If its like the first, your going to have to chmod the mount point... try 'chmod 753 /media/windows*'

Cheers,

Finegan
 
Old 01-23-2002, 06:27 PM   #10
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Original Poster
Rep: Reputation: 30
its like:

dr-x------ 1 root root 8192 Jan 20 20:54 windows
dr-x------ 1 root root 8192 Jan 9 17:46 windows_backup
 
Old 01-23-2002, 06:31 PM   #11
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Right now you have the directories readable and executable by only root and the machine... no one else has read privledges.

chmod 753 /media/window*

should take care of the problem.

Cheers,

Finegan
 
Old 01-23-2002, 06:34 PM   #12
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Original Poster
Rep: Reputation: 30
Didnt work, i still get the same thing when issueing a "ls -l" command.
 
Old 01-23-2002, 06:38 PM   #13
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Der... my mistake, if the drive is mounted, and its almost definately mounted read-only, then the mount point is also currently read-only. You'll have to unmount the drive first. If this doesn't do it then I'm really confused.

-Finegan
 
Old 01-23-2002, 06:42 PM   #14
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Original Poster
Rep: Reputation: 30
Ok i chmod it while its unmounted to get:

drwxr-x-wx 2 root root 35 Jan 21 11:29 windows
drwxr-x-wx 2 root root 35 Jan 21 11:31 windows_backup

As soon as a remount it it goes back to:


dr-x------ 1 root root 8192 Jan 20 20:54 windows
dr-x------ 1 root root 8192 Jan 9 17:46 windows_backup


Stupid SuSE BUG!!!
 
Old 01-23-2002, 06:44 PM   #15
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Okay, this is something weirdass about a read-only mount... now I'm grumpy, gimme a minute.

Cheers,

Finegan
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read permissions for ntfs drive. Billy|B-A Linux - General 2 02-01-2005 10:20 PM
fstab file to allow all users to read ntfs jza Linux - General 1 01-29-2004 02:05 PM
permission for normal users to read my NTFS HDs. Moebius Linux - Newbie 6 01-26-2004 06:23 AM
USB Key /w ro NTFS and normal users can't read spire Linux - Newbie 3 09-20-2003 06:50 PM
Change permissions on NTFS partition to read for all users bax Linux - Newbie 6 05-13-2002 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:06 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