LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 01: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, 01:47 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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 01:48 PM.
 
Old 08-10-2002, 01: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 01:50 PM.
 
Old 08-10-2002, 03: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, 05: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, 07:05 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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 07:10 PM.
 
Old 08-11-2002, 02:01 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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 10:11 PM
moving files between windows partitions, in knoppix Antilocust Linux - Software 6 07-24-2005 06:48 AM
moving files from windows to linux...urgent samyakm Linux - Newbie 5 01-02-2005 03:56 AM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-18-2004 12:05 AM
moving files between windows and linux endezeichen Linux - Software 4 11-19-2003 03:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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