LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-16-2006, 10:51 AM   #1
bobvh77
LQ Newbie
 
Registered: Oct 2005
Location: Ohio
Distribution: Fedora4
Posts: 19

Rep: Reputation: 0
Read privledges for Windows drive


I have Windows XP installed on one hard drive and slackware installed on another. From root, I am able to read the contents of the Windows drive in linux. I defaulted to listing it as /fat-c.

But when I try to view it from a user account, I'm told only the owner can view the drive. I can not figure out how to view the Windows partition from a normal user. When I tried to change the properties of the /fat-c folder, I got a message saying the properties could not be changed.

Does anyone understand my problem and have a way to fix this so users can read the Windows drive? I know it is possible because I had no problem with this using Fedora4 with the exact same hardware. Thank you in advance for any help.
 
Old 12-16-2006, 11:23 AM   #2
elvijs
LQ Newbie
 
Registered: Nov 2006
Location: Latvia
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Try from the root account:

cd /fat-c
chown username .

I am not sure it works, it is just a guess.

Last edited by elvijs; 12-16-2006 at 11:27 AM.
 
Old 12-16-2006, 11:34 AM   #3
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
try "mount /dev/hdxx /tmp/yyyy -o defaults"

x represents the appropriate drive
y represents the mount point
 
Old 12-16-2006, 12:23 PM   #4
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
I believe you cannot run the 'chown' command on a windows partition, since POSIX permissions/ownership are not supported by the filesystem.

The way I do it is to mount is with the uid= & gid= option.
/etc/fstab:
Code:
/dev/hda1        /mnt/windows         vfat        defaults,uid=1000 0   0
or you could do
Code:
/dev/hda1        /mnt/windows         vfat        defaults,gid=100 0   0
That would mount it so users in group 100 could use it - it's up to you.
 
Old 12-16-2006, 12:37 PM   #5
bobvh77
LQ Newbie
 
Registered: Oct 2005
Location: Ohio
Distribution: Fedora4
Posts: 19

Original Poster
Rep: Reputation: 0
thank you for the replies. i will try the above when i get home. i do recall messing around with fstab in fedora to get my windows drive readable. i'll let you know how it goes.
 
  


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
9.3(Here's how to Read Windows NTFS files on ext USB drive as user 1kyle SUSE / openSUSE 0 09-01-2005 04:59 AM
How to get Ubuntu to read Windows/USB drive? Micro420 Ubuntu 5 08-21-2005 02:17 AM
how can I read an ext3 drive from Windows? mr.flywheel Linux - Newbie 6 11-20-2004 09:07 AM
trying to get files off of drive a: cant seem to read dir of a windows formated flopp laurenaj Linux - Newbie 0 05-12-2004 05:44 PM
Read windows drive and ftp contents alphanordix Linux - Newbie 1 11-27-2003 10:33 AM

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

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