You are not logged in.

#1 2010-04-14 12:23:36

sveinemann
Member
Registered: 2007-09-30
Posts: 108

Skvm: let normal user write to mounted usb stick?

It mounts just fine, but it will not let a normal user write to the mounted device. Is this a problem because the stick is vfat? I tried changing the source so it would mount inside my home folder. That did not help either. Funny thing is that in the source code it says that it mounts with option "users" but I cannot see "users" in mount output.

Offline

#2 2010-04-27 20:13:21

future stir-fry
Member
Registered: 2008-11-29
Posts: 55

Re: Skvm: let normal user write to mounted usb stick?

I'm interested in this as well. Wondering if anybody has an answer. I have /media set to have full rwx permissions for my user but this doesn't apply to any of the subdirectories...is there a way to make this happen?

Offline

#3 2010-04-27 21:11:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Skvm: let normal user write to mounted usb stick?

Have a look at the most recent posts in the skvm thread - someone has created a fork that uses pmount, which sounds like what you need.

Also, as an alternative, you can do all this with udev rules if you want - details in the wiki.

Offline

#4 2010-06-26 12:14:18

0mark
Member
From: earth
Registered: 2010-06-09
Posts: 162
Website

Re: Skvm: let normal user write to mounted usb stick?

Since i had other troubles with pmount, i made a nice ugly skript:

#!/bin/sh

case "$2" in
    vfat)
        mount $1 $2 $3 $4,gid=95,dmask=5002,fmask=7113 $5 $6
    ;;
    *)
        mount $*
    ;;
esac

Just put it somewhere and change MOUNT_CMD_PATH in skvm.c. Seems to solve at least my problems very well.


Ceterum autem censeo Systemdinem esse delendam

Offline

Board footer

Powered by FluxBB