You are not logged in.
Pages: 1
I am using /etc/fstab to automount my windows partition when i start Arch. Is there an option to automatically change the ownership/permissions of the newly mounted filesystem so that a specific user has access to all of the files rather than just the superuser? Mainly I need this because all of my music is on my windows partition, and i currently am running chown after every boot in order to play it in xmms.
thanks,
mike
Offline
I am using /etc/fstab to automount my windows partition when i start Arch. Is there an option to automatically change the ownership/permissions of the newly mounted filesystem so that a specific user has access to all of the files rather than just the superuser? Mainly I need this because all of my music is on my windows partition, and i currently am running chown after every boot in order to play it in xmms.
thanks,
mike
Take a look at man mount
Those options can be in /etc/fstab as wel. You're looking for the uid= option, which will end up in /etc/fstab like this:
/dev/discs/disc0/part6 /windows/d vfat defaults,uid=1000 0 0
Offline
uid would only allow this user to access it.. I use umask=000 so everyone has rwx permission to it (but of course, since ntfs is read-only nobody can write...)
You can customize your umask if you know the permission system.. just substract the permissions you want from 777 and you get the umask.
example: if you want 755 (rwxr-xr-x) permissions, umask would be 022.
Patrix.
Offline
What I do is give the "users" group permissions to the drive. Also, I don't like giving execute permissions to files, but I need it for directories.
auto,gid=users,fmask=117,dmask=007
I don't know if this works with NTFS, but it works fine with FAT32.
Offline
Thanks all for the help... what i did was umask=000, and it works just like I wanted
Offline
Pages: 1