Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] how to set up write permission on usbstick
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kriz
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 231

PostPosted: Mon Oct 08, 2012 4:01 pm    Post subject: [solved] how to set up write permission on usbstick Reply with quote

Hello.

I try to define a rule that a user can write on an automounted usbstick.
Mounting functioned perfect but this user cant create folders respectively he cant write on this usbstick.

My rule in /etc/polkit-1/localauthority/50-local.d/10-udisks.pkla looks like:

Code:

[Berechtigung]
Identity=unix-group:users
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.modify-device
ResultAny=yes
ResultInactive=yes
ResultActive=yes


The session starts within .xinitrc and ck-launch-session dbus-launch through startx.
Any suggestions?

cc


Last edited by kriz on Tue Oct 09, 2012 4:29 am; edited 2 times in total
Back to top
View user's profile Send private message
kriz
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 231

PostPosted: Mon Oct 08, 2012 5:40 pm    Post subject: Reply with quote

solved

i had to set uid and gid in fstab also.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum