You are not logged in.
ntfs partition is being mounted during boot time by fstab:
/dev/sda1 /media/seven auto users,rw 0 0
i can also mount/umount it manually, but only root can access /media/seven.
Why is that? What's wrong?
my user is in following groups:
adm disk wheel log network video audio optical storage camera users vboxusers
bagheera@tux:~$ ls -al /media
razem 20
drwxr-xr-x 5 root root 4096 06-06 17:57 .
drwxr-xr-x 23 root root 4096 05-04 21:04 ..
dr-x------ 1 bagheera users 4096 06-06 15:46 EDGE
drwxrwxrwx 2 root root 4096 05-25 23:34 seven
drwxr-xr-x 2 root root 4096 04-28 20:59 usb
Last edited by bagheera (2011-06-07 15:34:49)
arch linux user
Offline
a NTFS partition, as an entry for fstab should look like this
/dev/sda1 /mounting_point ntfs-3g defaults,locale=en_US.UTF-8 0 0
By the way if it's NTFS you should also install ntfs-3g if you didn't done it already
sudo pacman -S ntfs-3g
All the best
Last edited by I'mGeorge (2011-06-06 17:07:07)
I've first installed Arch in March
Offline
a NTFS partition, as an entry for fstab should look like this
/dev/sda1 /mounting_point ntfs-3g defaults,locale=en_US.UTF-8 0 0
By the way if it's NTFS you should also install ntfs-3g if you didn't done it already
sudo pacman -S ntfs-3g
All the best
Hmmm - should there not also be a 'umask=000' and possibly also 'uid=0,gid=0' in the stanza?
That's how I have always done it in the past - but hey - things change ....
Offline
I'mGeorge wrote:a NTFS partition, as an entry for fstab should look like this
/dev/sda1 /mounting_point ntfs-3g defaults,locale=en_US.UTF-8 0 0
By the way if it's NTFS you should also install ntfs-3g if you didn't done it already
sudo pacman -S ntfs-3g
All the best
Hmmm - should there not also be a 'umask=000' and possibly also 'uid=0,gid=0' in the stanza?
That's how I have always done it in the past - but hey - things change ....
It's included in the option defaults. Actually if you don't have any particular preferences in the option section you can just leave defaults
I've first installed Arch in March
Offline
you can get write permissions by having members of a group (gid) or a user (uid) have ownership of files on the partition. you may also want to set the umask to give correct file and directory permissions to user, group and others.
an example:
/dev/sda1/ /media/seven ntfs gid=100,umask=007,rw 0 0
# or
/dev/sda1/ /media/seven ntfs uid=1000,umask=007,rw 0 0
you should try poking around on the wiki man. by the way you don't have to specify 'ntfs-3g' in /etc/fstab as 'ntfs' is symlinked with it - not really important though.
Last edited by roygbiv (2011-06-06 19:51:55)
Offline
use ntfs-3g instead of ntfs
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
perbh wrote:I'mGeorge wrote:a NTFS partition, as an entry for fstab should look like this
/dev/sda1 /mounting_point ntfs-3g defaults,locale=en_US.UTF-8 0 0
By the way if it's NTFS you should also install ntfs-3g if you didn't done it already
sudo pacman -S ntfs-3g
All the best
Hmmm - should there not also be a 'umask=000' and possibly also 'uid=0,gid=0' in the stanza?
That's how I have always done it in the past - but hey - things change ....It's included in the option defaults. Actually if you don't have any particular preferences in the option section you can just leave defaults
the 'locale' option is deprecated if you don't mind. https://wiki.archlinux.org/index.php/Ntfs.
Offline
the 'locale' option is deprecated if you don't mind. https://wiki.archlinux.org/index.php/Ntfs.
I don't mind, thanks for the update
I've first installed Arch in March
Offline
On a quick not try mounting the disk by UUID rather than by mount point name. You can run into trouble with multiple disks https://wiki.archlinux.org/index.php/Pe … ice_naming
Offline
Done. Arch wiki ftw! I should read it in the first place. Thanks anyway.
arch linux user
Offline