You are not logged in.

#1 2005-01-31 23:06:52

Todd_Z
Member
From: MA, USA
Registered: 2005-01-31
Posts: 35
Website

Mounting and permissions

I just mounted my ntfs windows partition, from root I can access it fine, how do i set permissions to it so that my user account can access it?  ~ thanks

Offline

#2 2005-01-31 23:40:38

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Mounting and permissions

Use the uid, guid and/or mask mount options. E.g. something like the following, which I used on a dualbooting pc:

/dev/hda1    /mnt/win2k    vfat    gid=100,umask=007,noatime    0 0

In this case, gid 100 is the group "users", umask 007 means read, write and execute permissions for root and all users in group "users", and none for everyone else.

Offline

#3 2005-01-31 23:55:43

Todd_Z
Member
From: MA, USA
Registered: 2005-01-31
Posts: 35
Website

Re: Mounting and permissions

How do i find out a list of the groups, and the group that my account is in?

Offline

#4 2005-02-01 02:06:52

linfocito
Member
From: Gurupi - TO, Brasil
Registered: 2003-05-18
Posts: 82

Re: Mounting and permissions

list of groups: cat /etc/group

groups you are in: groups


"...archoholism is a hard disease to cure..."
Archlinux Brasil

Offline

#5 2005-02-01 03:01:36

Todd_Z
Member
From: MA, USA
Registered: 2005-01-31
Posts: 35
Website

Re: Mounting and permissions

/dev/hda1 /mnt/win2k vfat gid=100,umask=007,noatime 0 0

what i think i should be doing:

mount -t ntfs /...../part2 /windows/F/ gid=6

... i dont know what the other parts are
6 is the "disc" group, which i really dont know what it does... so im shooting in the dark here.  Thanks for the help

Offline

#6 2005-02-01 13:11:28

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Mounting and permissions

/etc/udev/permissions.d/udev.permissions lists all the groups allowed to each device.

Offline

Board footer

Powered by FluxBB