You are not logged in.

#1 2006-02-27 12:01:34

Oin
Member
Registered: 2005-09-02
Posts: 63

udev permission problems

i've been having this problem for a lot of time now, and i haven't found an answer on the forum or in the wiki.

i don't have write permission to my vfat partition for normal users and i'm not able to change the permissions using chmod. I tried adding my user to the storage group.
fstab looks like this:

/dev/hda5 /mnt/warehouse vfat  rw,user 0 0

please help  roll


In Linux there are no secrets!

Offline

#2 2006-02-28 00:48:54

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: udev permission problems

chown  user:group  /dir/to/change

i believe is the command your looking for

Offline

#3 2006-02-28 12:05:50

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: udev permission problems

thanks for the reply
i tried it, but it says:

chown: changing ownership of `/mnt/warehouse': Operation not permitted

In Linux there are no secrets!

Offline

#4 2006-02-28 12:32:12

Chman
Member
Registered: 2006-01-31
Posts: 169
Website

Re: udev permission problems

Did you run this command as root ?

Offline

#5 2006-02-28 14:16:14

pikass
Member
From: Schwartz space
Registered: 2005-11-28
Posts: 85

Re: udev permission problems

vfat doesn't know owner, group or permission attributes that's why you can't change them. You have to cheat:

/dev/hda5 /mnt/warehouse  vfat    iocharset=utf8,umask=000,uid=1000,gid=1000   0       0

would be an example. Please consult 'man mount' for further mount options.

Offline

#6 2006-03-03 15:03:08

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: udev permission problems

thank you!
writing that line in fstab did the job


In Linux there are no secrets!

Offline

Board footer

Powered by FluxBB