LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-10-2002, 12:31 PM   #1
frkstein
Member
 
Registered: Jan 2002
Location: Livonia, MI
Distribution: Ubuntu 10.04
Posts: 126

Rep: Reputation: 15
Moving files to Windows partition...


I store certain types of files in the Windows partition of my dual boot box. For instance, I store my digital photos there because Windows has better drivers for printing photo quality pictures. Now my problem. I can move pictures over to the windows partiition without a problem. I can just login as root. But, my wife doesn't have this privelege. Is there a way that I can make her part of a group that will have priveleges to write to the windows partition?
 
Old 08-10-2002, 12:47 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
in your /etc/fstab add the option
user to windows partition(s), umask=000 (and optionally exec if you want to execute anything that is stored on win partition(s)) to allow all users on your system to mount/umount, read-write, [exec] on windows partitions so it'll look something like this
/dev/hda1 /mount_point vfat user,exec,umask=000 0 0

Last edited by neo77777; 08-10-2002 at 12:48 PM.
 
Old 08-10-2002, 12:49 PM   #3
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
In your /etc/fstab file, you need to change the following:
if your partition is /dev/hda3, the line should look like this:
/dev/hda3 <somewhere> vfat user,rw
You can leave the last two rows as they are. Important is the rw, that stands for read-write access. With the option user, other users can mount the drive without root access.

<edit>
Now you were faster than me Neo - I don't like it
</edit>

Last edited by Config; 08-10-2002 at 12:50 PM.
 
Old 08-10-2002, 02:46 PM   #4
frkstein
Member
 
Registered: Jan 2002
Location: Livonia, MI
Distribution: Ubuntu 10.04
Posts: 126

Original Poster
Rep: Reputation: 15
Thx!!!!

It worked!!!! Thanks guys!!!!
 
Old 08-10-2002, 04:02 PM   #5
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Rep: Reputation: 30
just out of interest (and i know how dumb this sounds) but what exactly does the umask bit do? is it a mode type number? (like you know, 777 for full priveleges and so on)

humour me, i'm having a slow day!
 
Old 08-10-2002, 06:05 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Umask actually defines your default permissions when you create files/directories. It substructs octal numbers. For instance, umask=000 is equal to chmod 666 umask=002 is chmod 664.
Quote:
Now you were faster than me Neo - I don't like it

Last edited by neo77777; 08-10-2002 at 06:10 PM.
 
Old 08-11-2002, 01:01 AM   #7
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I actually asked this a while back, for a massively in depth response, check it out (from linuxcool):
http://www.linuxquestions.org/questi...ighlight=umask

Good reading, and is very cool to know.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
moving files from windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 09:11 PM
moving files between windows partitions, in knoppix Antilocust Linux - Software 6 07-24-2005 05:48 AM
moving files from windows to linux...urgent samyakm Linux - Newbie 5 01-02-2005 02:56 AM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
moving files between windows and linux endezeichen Linux - Software 4 11-19-2003 02:39 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration