You are not logged in.
Pages: 1
So im using fstab to mount some of my pratitions. There is a fat32 one, a ext4 and a ntfs. The problem is i wan't to be able to write and edit files on this filesystems, and as it is now I can't. Can anyone help me out on what i have to do to get write permissions. Right now i can only read the files.
this is how i have set it up in fstab
/dev/sda5 /media/fatdisk vfat user,rw 0 1
/dev/sda1 /media/win7 ntfs user,rw 0 1
/dev/sda7 /media/disk-7 ext4 user,rw 0 1
Also the ntfs is no loger showing up anywhere after i put it up in fstab. I have ntfs-3g installed. It's not mounting, nor does it show up "unmounted" in 'computer' in nautilus.
Thanks
Last edited by epqr (2009-06-22 23:28:25)
Offline
Add youre user to Storage group; gpasswd -a user -g storage
It's a long time since I used ntfs-3g, but i chmod 777 the /bin/ntfs-3g. Then the same with the mountpoint.
Mount with umask=000.
/dev/sda1 /media/win7 ntfs-3g users,rw,umask=000 0 1
That works for me, good luck.
Offline
/dev/sda4 /mnt/windows ntfs-3g defaults 0 0
I only just added that to my fstab today and it works just fine.
Offline
Add youre user to Storage group; gpasswd -a user -g storage
It's a long time since I used ntfs-3g, but i chmod 777 the /bin/ntfs-3g. Then the same with the mountpoint.
Mount with umask=000./dev/sda1 /media/win7 ntfs-3g users,rw,umask=000 0 1
That works for me, good luck.
Why the chmod 777 to /bin/ntfs-3g?
Other than that sounds good. I just want to add that you'll need to pacman the ntfs-3g package before this will work.
Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.
Offline
Thanks, all working now. This is how it's set up now
/dev/sda5 /media/fatdisk vfat user,rw,umask=000 0 1
/dev/sda1 /media/win7 ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=0002 0 1
/dev/sda7 /media/disk-7 ext4 user,rw 0 1
/dev/sdb1 /media/maxtor ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=0002 0 1
/dev/sdb2 /media/maxtor-3 vfat vfat user,rw,umask=000 0 0
I had some issues mounting the sdb1 filesystem, but i found out i had to use chmod 775 (777 might have worked too) on the mounting folder, while it was unmonuted (i could only mount it as superuser), thanks to sveinemann suggestion.
Offline
Hmm.. Now it's not working again, I have rebooted a couple of times since it last worked. Once again it says i don't have write acsess to the mountpoint (/media/maxtor), even though I use the command
sudo chmod 775 /media/maxtor
That command did the trick for me last time, but now it stopped wokring.
full error message;
[mntent] line 17 in /etc/fstab is bad
ntfs-3g-mount: user has no write access to mountpoint /media/maxtor
Last edited by epqr (2009-06-23 13:16:58)
Offline
Edit the file: /etc/PolicyKit/PolicyKit.conf
put within <config> :
<match user="$USER">
<!-- replace with your login or delete the line if you want to allow all users to manipulate devices (keep security issues in mind though) -->
<match action="org.freedesktop.hal.storage.*">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options">
<!-- for internal devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
<match action="hal-storage-mount-removable-extra-options">
<!-- for external devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
</match> <!-- don't forget to delete this line if you deleted the first one -->
Reboot and check if its working.
Offline
Nope that didn't help. I still get the exact same error message.
Offline
where sdb is a hard drive, try (in fstab):
/dev/sdb1 /media/maxtor ntfs-3g defaults,quiet,umask=000,users 0 1
Offline
I have the same problem. When I use the line
"/dev/sda3 /mnt/windows ntfs-3g defaults 0 0" is nothing happening. But I see my "winxp" in Places on panel bar.
When I use the line
"/dev/sda4 /media/winxp ntfs-3g users,rw,umask=000 0 1" I see both partition (sda3 - winxp and sda4 - filetemp), but I cant open it:
{ Error opening '.dev.sda4': Permission denied Failed to mount '.dev.sda4': Permission denied Please check '.dev.sda4' and the ntfs-3g binary permissions, and the mounting user ID. More explanation is provided at http://ntfs-3g.org/support.html#unrivileged
DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes includ: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken }
I have ntfs-3g and I've added my user to storage group. What's wrong?
Offline
Pages: 1