View previous topic :: View next topic |
Author |
Message |
dot Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 05 May 2003 Posts: 335 Location: Germany
|
Posted: Wed May 14, 2003 10:00 am Post subject: /etc/fstab |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
LimeFrog Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/10267932213edf8b4b688fe.jpg)
Joined: 31 Mar 2003 Posts: 187 Location: Skövde, Sweden
|
Posted: Wed May 14, 2003 10:17 am Post subject: |
|
|
Remove noauto for automatic mounting. Sorry for answering in english, but englsih help is better than no help right? ![Smile :)](images/smiles/icon_smile.gif) _________________ I don't believe in God, but I'm afraid of him! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
easy2k Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/90095996144c3206e92ce9.png)
Joined: 28 Aug 2002 Posts: 129 Location: Östlichste Stadt Deutschlands
|
Posted: Wed May 14, 2003 11:38 am Post subject: |
|
|
hier mal ein Beispiel Code: |
/dev/hda1 /mnt/win-c vfat umask=027,gid=100,uid=1000,user 0 0 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
knorke Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/6298691553ea4f1bc20ed6.gif)
Joined: 06 Feb 2003 Posts: 219 Location: le,de
|
Posted: Wed May 14, 2003 1:21 pm Post subject: |
|
|
siehe auch man fstab und man mount... dort ist das in weniger text beschrieben als du benötigt hast um dein problem zu beschreiben ![Smile :)](images/smiles/icon_smile.gif) _________________ under construction |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dot Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 05 May 2003 Posts: 335 Location: Germany
|
Posted: Tue May 20, 2003 9:31 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
daemonb Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo.gif)
Joined: 24 Jul 2002 Posts: 242
|
Posted: Tue May 20, 2003 10:10 am Post subject: |
|
|
da musst du das dir wo du die platte hin gemountet ist dem user geben.
Also chown user:group /mnt/share |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dot Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 05 May 2003 Posts: 335 Location: Germany
|
Posted: Tue May 20, 2003 10:51 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|