Christian Frommeyer wrote: >>Anderes Problem: ich kann die Freigabe trotz der option "user" nur >>als root mounten. Der Mount-Point gehört der Gruppe "mount", der User >>gehört zur Gruppe "mount". Sollte doch eigentlich funktionieren? > > Aus man mount.cifs: > > The mount.cifs utility attaches the UNC name (exported network resource) > to the local directory mount-point. It is possible to set the mode > for mount.cifs to setuid root to allow non-root users to mount shares > to directories for which they have write permission.
Danke, nach setuid funktioniert es jetzt. Ich musste den Owner des Mount-Points allerdings von "root:mount" auf "user:mount" setzen. Warum das? Ich führe ja mount.cifs eigentlich (suid) als root aus. Abgesehen davon ist "user" ist in der Gruppe "mount". Der Mount-Point hat 0775. Grüße Hannes