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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-10-2002, 01:31 PM
|
#1
|
Member
Registered: Jan 2002
Location: Livonia, MI
Distribution: Ubuntu 10.04
Posts: 126
Rep:
|
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?
|
|
|
08-10-2002, 01:47 PM
|
#2
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
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.
|
|
|
08-10-2002, 01:49 PM
|
#3
|
Member
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376
Rep:
|
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.
|
|
|
08-10-2002, 03:46 PM
|
#4
|
Member
Registered: Jan 2002
Location: Livonia, MI
Distribution: Ubuntu 10.04
Posts: 126
Original Poster
Rep:
|
Thx!!!!
It worked!!!! Thanks guys!!!!
|
|
|
08-10-2002, 05:02 PM
|
#5
|
Member
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302
Rep:
|
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!
|
|
|
08-10-2002, 07:05 PM
|
#6
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
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.
|
|
|
08-11-2002, 02:01 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|