LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Viewing Windows Files from Linux


Hi,

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
skel
Member
 
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
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15
simple

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
aaa
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
nobyone
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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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