LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2004, 09:21 PM   #1
mpn
Member
 
Registered: Oct 2004
Distribution: Slackware 10.2
Posts: 33

Rep: Reputation: 15
Can only read /mnt/win (ntfs) as root


I'm running Slackware 10 with an NTFS Windows partition mounted at /mnt/win with rw set. The problem is that only root can read it for some reason. I've tried changing the permissions when /mnt/win was mounted and got the error that it's a read-only partition. When it's not mounted, I can chmod 755 but it doesn't maintain those permissions when it is mounted.

Any idea how this can be fixed?
 
Old 12-13-2004, 09:26 PM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Yep. Read only meantime. write possibility is being yet experimantal
 
Old 12-13-2004, 09:30 PM   #3
mpn
Member
 
Registered: Oct 2004
Distribution: Slackware 10.2
Posts: 33

Original Poster
Rep: Reputation: 15
I just want to read, but as a regular user and not as root. Is that possible?
 
Old 12-13-2004, 09:31 PM   #4
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
ntfs, just like most things Microsoft (but not all) is not an open standard.
 
Old 12-13-2004, 09:36 PM   #5
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
yes.. mount the file system with "umask=0" as an option.

For example

#mount -t ntfs -o umask=0 /dev/hdxX /path/to/mount/point

where /dev/hdxX is replaced with the hard drive and partition of the NTFS filesystem.

In fstab it will look a bit different -- but I'll let you play around with it.
 
Old 12-14-2004, 02:29 AM   #6
Youri
Member
 
Registered: Oct 2004
Distribution: slamd64-current, slackware-current, clfs 6.1, arch-current, ubuntu dapper
Posts: 144

Rep: Reputation: 15
cant u just use chmod? if u do type chmod --help for more options and explanation
 
Old 12-14-2004, 03:15 AM   #7
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
say ur windows partition is at /dev/hda1.

Code:
chmod a+rx /dev/hda1
This line is only to make certain that all users can read the drive.

add the following line to ur /etc/fstab file:
Code:
/dev/hda1     /mnt/ntfs    ntfs    noauto,users,ro,umask=0   1  0
Of course change /dev/hda1 to reflect ur system and change /mnt/ntfs to reflect ur chosen mount point. Good luck.

Last edited by KMcD; 12-14-2004 at 03:16 AM.
 
Old 12-15-2004, 09:21 PM   #8
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Rep: Reputation: 30
VERY helpful. Thanks!
 
  


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
Can't change the read permissions on an NTFS partition as root? EOHooligan Linux - Newbie 4 01-09-2005 06:48 AM
how do i mnt my win partition lil_ak Linux - Software 11 06-21-2004 07:09 AM
non-root accessing /mnt/win is denied! muyu Linux - Software 2 03-21-2004 12:38 AM
/mnt/win? redhat 8.0 bullwinkel Linux - Newbie 10 12-17-2002 06:56 PM
one more question about /mnt/win from Linux ..sorry purpleburple Linux - General 3 07-06-2002 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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