Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usb-stick [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
mosez
n00b
n00b


Joined: 24 Sep 2005
Posts: 18

PostPosted: Sat Oct 15, 2005 6:14 pm    Post subject: usb-stick [solved] Reply with quote

hallo

ich hab ein problem mit meinem neuen usb-stick: wenn ich ihn mount, hat nur root schreibzugriff auf ihn. wenn ich mit chmod rechte für alle setze, werden diese aber nicht übernommen (erst wenn ich den usbstick unmounte, sehe ich die veränderten rechte)

folgender code wurde (automatisch) in /etc/fstab eingefügt:
Code:

/dev/sda1               /mnt/usbstick   vfat    user,exec,noauto,utf8,noatime,sync,managed 0 0


vfat-dateisystem ist im kernel einkompiliert
Code:

mosez@mosez-linux /mnt $ cat /usr/src/linux/.config | grep VFAT
CONFIG_VFAT_FS=y


wie kann ich jetzt jedem zugriff auf den usbstick geben?

mfg
mosez


Last edited by mosez on Sat Oct 15, 2005 6:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sat Oct 15, 2005 6:23 pm    Post subject: Reply with quote

Quote:

wenn ich ihn mount, hat nur root schreibzugriff auf ihn.

Wenn du Ihn als root mountest, hat nur root Zugriff. Erstatz doch mal "user" durch "users" in deiner /etc/fstab und versuche es nochmal.

Quote:

wenn ich mit chmod rechte für alle setze, werden diese aber nicht übernommen (erst wenn ich den usbstick unmounte, sehe ich die veränderten rechte)

du kannst auf vfat Filesysteme keine Rechte setzen, oder habe ich dich falsch verstanden?
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
mosez
n00b
n00b


Joined: 24 Sep 2005
Posts: 18

PostPosted: Sat Oct 15, 2005 6:46 pm    Post subject: Reply with quote

ok, kann jetzt auch als user zugreifen, danke

mfg
mosez
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Sat Oct 15, 2005 6:47 pm    Post subject: Reply with quote

Das funktioniert bei mir:
Code:
tfoerste@n22 ~ $ grep stick /etc/fstab
/dev/sda                /mnt/stick      auto            noauto,user,rw          0 0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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