LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-13-2005, 08:12 AM   #1
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
Question giving permission to read windows partitions


How do I do this? I can read them with root but I need to do it with my own user.
 
Old 01-13-2005, 08:32 AM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
edit /etc/fstab

for exampe:

/dev/hda1 /mnt/windows vfat defaults 0 0

change to:

/dev/hda1 /mnt/windows vfat users 0 0

your mount point for windows may be different as this is just an example to give you an idea what needs to be done...

by just changeing defaults to users should let non-root users mount and umount and access your windows partition...

i don't have windows installed, and only run Linux, i done this same method to one of my extra ext3 disk partitions to non-root users can mount and unmount a partition, but it did not change file permissions so users can not edit, or delete files, and can only read files, i dont know about vfat file permissions and much less about NTFS since i abandoned windows a couple of years ago...

i changed the permission on my cdrom from defaults to users so i dont have to su in a terminal just to mount a cdrom...

no guarentees, just a suggestion you might try...
 
Old 01-13-2005, 08:51 AM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
well...use this....

( for vfat )
/dev/hda1 /mnt/windows vfat users,umask=002 0 0

( for ntfs )
/dev/hda1 /mnt/windows ntfs ro,users,umask=022 0 0

egag
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Windows read ext3 partitions? mcah5 Linux - Newbie 15 02-07-2007 05:22 PM
Cannot read Windows partition. Permission problems Micro420 Linux - General 5 10-03-2005 01:46 AM
Writing permission for windows and linux partitions jaakkop Slackware 3 07-25-2005 06:14 AM
Read multi partitions in Windows NTFS from linux java8964 Linux - General 5 11-19-2003 11:18 AM
mount windows partitions so users (and not just root) can read it TheOneAndOnlySM Slackware 1 10-10-2003 05:20 PM

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

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