You are not logged in.
Pages: 1
Topic closed
I've just met strange problem with flash-drive.
I use this code https://wiki.archlinux.org/index.php/Ud … if_present
to make automount works.
So the problem is I can read data from mounted flash-drive, but cannot write.
I don't see any errors, though. It seems like a wrote some data, but actually, when I re-mount my flash-drive, all I wrote seems to be disappeared.
ps: I've tried it with another flash drive, and tried to copy files as root. Sadly, it didn't help.
Offline
What about creating this polkit to mount usb flash drives.
[Storage Permissions]
Identity=unix-group:storage
Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown
ResultAny=yes
ResultActive=yes
ResultInactive=no
And place it in the /etc/polkit-1/localauthority/50-local.d/55-myconf.pkla - It's from the archlinux wiki - then logout and log back into the desktop environment.
Last edited by DarkCerberus (2012-06-05 10:03:29)
Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago. --- Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way
Offline
If you are trying to mount ntfs filesystems: maybe it is mounted as type 'ntfs' instead of 'ntfs-3g'.
Offline
If you are trying to mount ntfs filesystems: maybe it is mounted as type 'ntfs' instead of 'ntfs-3g'.
Filesystem of mounted devise is vfat
What about creating this polkit to mount usb flash drives.
[Storage Permissions]
Identity=unix-group:storage
Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown
ResultAny=yes
ResultActive=yes
ResultInactive=noAnd place it in the /etc/polkit-1/localauthority/50-local.d/55-myconf.pkla - It's from the archlinux wiki - then logout and log back into the desktop environment.
Yes, I did what you said, but it didn't help.
Offline
I just removed what I added from wiki https://wiki.archlinux.org/index.php/Ud … if_present,
and I loaded Mate-Desktop-Environment and reading/writing appears to be fine now.
Although, I usually do not use DE and simply load DWM from my .xinitrc.
So, is it possible to make writing works normal without using DE?
Offline
It is possible, that's how I do it. I run DE'less and used the exact same udev rule you linked above, automount works fine and I can read/write as my normal user, no permission problems.
I'm not sure where your problem lies, possibly to do with policykit/consolekit issues. I don't have anything to do with them, not sure they are even installed, they definitely don't run.
Other than that maybe check if your user is in the storage group. I don't even know if this is used any more or if it has any affect, but I always do it anyway ![]()
Offline
If you tried using the rule posted by DarkCerberus, you need to be in the storage group.
Offline
If you are trying to mount ntfs filesystems: maybe it is mounted as type 'ntfs' instead of 'ntfs-3g'.
Hey Terminator, Thanks, I didn't even realize that on my fresh install i didn't grab ntfs-3g tools -- saved me the hassle
To begin to know, we must first admit that we do not.
"Simplicity is the ultimate sophistication" -Leonardo Da Vinci
Offline
Offline
Pages: 1
Topic closed