Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-26-2004, 09:32 AM   #1
LQ Newbie
Registered: Mar 2004
Location: Nancy, France
Distribution: Mdk 9.2
Posts: 3

Rep: Reputation: 0
Viewing Windows Files from Linux


I am a linux newbie and i still need windows sometimes and i would like to access my windows files from linux.

How can I do that as user (i can access them as root but would prefer not to use root)?

Thanks a lot
Old 03-26-2004, 09:42 AM   #2
Registered: Jan 2004
Distribution: Slackware 10 ; Gentoo ; OpenBSD 3.6
Posts: 101

Rep: Reputation: 15
mount it with the uid=xxx option, where xxx is the uid for your user.

check out this thread
Old 03-26-2004, 10:45 AM   #3
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15

mkdir /mnt/windows
mount -t vfat /mnt/windows /dev/hda1-o umask 0 <thanx aaa!>
or -t ntfs if it is an ntfs drive

here, hda will mean primary master, and hdb primary slave. if you have only one then it is hda. 1 2 3 4 etc are the partition numbers. check with fdisk to see what partition is fat/ntfs

to mount every startup, add this to your /etc/fstab

/dev/hda1 <tab> /mnt/windows <tab> vfat <tab> user,rw,umask=000 0 0

be sure you know the number of the drive and it's filesystem

Last edited by thehundredthone; 03-26-2004 at 10:50 AM.
Old 03-26-2004, 10:49 AM   #4
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
mount -t vfat /dev/hda1 /mnt/windows -o umask=0
This will let regular users use the drive. Add a line to fstab for permanence.
Old 03-26-2004, 11:03 AM   #5
LQ Newbie
Registered: Mar 2004
Location: Nancy, France
Distribution: Mdk 9.2
Posts: 3

Original Poster
Rep: Reputation: 0
thanks everyone, gives me ideas and seems to work
i actually unmounted and then remounted with the syntax you provided, seems to work fine

have a great weekend.


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
viewing linux files in windows hari_mj23 Linux - Newbie 4 04-05-2005 02:24 PM
viewing the linux files in windows kashan Linux - Newbie 4 09-20-2004 10:50 AM
Viewing files from Linux in Windows imonfya Linux - Newbie 4 07-08-2004 02:14 PM
Viewing Shared Windows files in linux natesch Linux - Software 7 06-12-2003 11:49 AM
viewing windows files square317 Linux - General 3 12-16-2000 06:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration