Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/fstab
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
dot
Guru
Guru


Joined: 05 May 2003
Posts: 335
Location: Germany

PostPosted: Wed May 14, 2003 10:00 am    Post subject: /etc/fstab Reply with quote

Hi,

ich hab folgende Frage:
Gibt es eine Möglichkeit, vfat Partitionen (bei mir /dev/hda1 und /dev/hda5)
beim Systemstart zu mounten, allerdings nicht als root, sondern
unter dem Benutzer nogroup:nobody?
Das Problem ist, wenn ich in der fstab für die beiden Partitionen
auto eintrage, kann ich als normaler(!root)-User nicht über /mnt/cfat oder
/mnt/dfat zugreifen (Permission denied).

Gibt es da spezielle Mountoptionen für die fstab?

Flo

PS:
Code:

# /etc/fstab: static file system information.

/dev/hda3               /               ext3            noatime,data=writeback                  0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro,users,user    0 0
/dev/cdroms/cdrom1      /mnt/dvd        iso9660         noauto,ro,users,user    0 0
proc                    /proc           proc            defaults                0 0

/dev/hda1               /mnt/cfat       vfat            rw,users,user,noauto    0 0
/dev/hda5               /mnt/dfat       vfat            rw,users,user,noauto    0 0

tmpfs                   /dev/shm        tmpfs           defaults                0 0
Back to top
View user's profile Send private message
LimeFrog
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 187
Location: Skövde, Sweden

PostPosted: Wed May 14, 2003 10:17 am    Post subject: Reply with quote

Remove noauto for automatic mounting. Sorry for answering in english, but englsih help is better than no help right? :)
_________________
I don't believe in God, but I'm afraid of him!
Back to top
View user's profile Send private message
easy2k
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2002
Posts: 129
Location: Östlichste Stadt Deutschlands

PostPosted: Wed May 14, 2003 11:38 am    Post subject: Reply with quote

hier mal ein Beispiel
Code:

/dev/hda1      /mnt/win-c   vfat      umask=027,gid=100,uid=1000,user      0 0
Back to top
View user's profile Send private message
knorke
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 219
Location: le,de

PostPosted: Wed May 14, 2003 1:21 pm    Post subject: Reply with quote

siehe auch man fstab und man mount... dort ist das in weniger text beschrieben als du benötigt hast um dein problem zu beschreiben :)
_________________
under construction
Back to top
View user's profile Send private message
dot
Guru
Guru


Joined: 05 May 2003
Posts: 335
Location: Germany

PostPosted: Tue May 20, 2003 9:31 am    Post subject: Reply with quote

Hi,

danke, für vfat hat das funtkioniert,
wie mache ich das für eine reiserfs -Partition?

Code:
/dev/hda4               /mnt/share      reiserfs        rw,noatime,notail,auto,users,user       0 0


Flo
Back to top
View user's profile Send private message
daemonb
Apprentice
Apprentice


Joined: 24 Jul 2002
Posts: 242

PostPosted: Tue May 20, 2003 10:10 am    Post subject: Reply with quote

da musst du das dir wo du die platte hin gemountet ist dem user geben.

Also chown user:group /mnt/share
Back to top
View user's profile Send private message
dot
Guru
Guru


Joined: 05 May 2003
Posts: 335
Location: Germany

PostPosted: Tue May 20, 2003 10:51 am    Post subject: Reply with quote

das alleine reicht nicht, hat bei den vfat partitionen auch nicht
funktioniert.

wenn ich als root eingelogt bin, sieht es so aus:
Code:

discovery mnt # l | grep share
drwxr-xr-x    2 bowman   users        4096 May 20 11:12 share

discovery mnt # mount /mnt/share/
discovery mnt # l | grep share
drwxr-xr-x    3 root     root           48 May 20 11:18 share



wenn ich allerdings ein chmod 777 /mnt/share mache,
dann funktionierts, auch beim remount :-)


Flo
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