konsolero
15.10.08, 22:30
Hallo liebes Forum ;-)
irgendwie hab ich ein Problem beim Mounten einer Windows-Freigabe unter Linux.
System: Knoppix-5.1.1-Debian-Installation
Kernel: 2.6.19
Zuerst mal, was funktioniert (als root):
mount -tsmbfs -ousers,uid=tux,gid=tux,rw,credentials=/etc/auto.pc002.server //pc002/C$ /mnt/platte
oder (auch als root):
mount /mnt/platte
weil /etc/fstab hat
//pc002/C$ /mnt/platte smbfs noauto,users,uid=tux,gid=tux,exec,dev,suid,rw,cred entials=/etc/auto.pc002.server,umask=000 0 0
(Die Optionen exec,dev,suid hab ich extra reingemacht, weil mein Kernel gewarnt hat, dass er
bei smbfs die Optionen noexec,nodev,nosuid nicht kennt)
So. Versuche ich nun als normal sterblicher User (tux) den Befehl "mount /mnt/platte", dann kommt:
tux@pc001:~$ mount /mnt/platte
cannot mount on /mnt/platte: Operation not permitted
smbmnt failed: 1
Häää ???
Wieso darf ich das als User net? Hab doch Option users!
Grüße von Konsolero
irgendwie hab ich ein Problem beim Mounten einer Windows-Freigabe unter Linux.
System: Knoppix-5.1.1-Debian-Installation
Kernel: 2.6.19
Zuerst mal, was funktioniert (als root):
mount -tsmbfs -ousers,uid=tux,gid=tux,rw,credentials=/etc/auto.pc002.server //pc002/C$ /mnt/platte
oder (auch als root):
mount /mnt/platte
weil /etc/fstab hat
//pc002/C$ /mnt/platte smbfs noauto,users,uid=tux,gid=tux,exec,dev,suid,rw,cred entials=/etc/auto.pc002.server,umask=000 0 0
(Die Optionen exec,dev,suid hab ich extra reingemacht, weil mein Kernel gewarnt hat, dass er
bei smbfs die Optionen noexec,nodev,nosuid nicht kennt)
So. Versuche ich nun als normal sterblicher User (tux) den Befehl "mount /mnt/platte", dann kommt:
tux@pc001:~$ mount /mnt/platte
cannot mount on /mnt/platte: Operation not permitted
smbmnt failed: 1
Häää ???
Wieso darf ich das als User net? Hab doch Option users!
Grüße von Konsolero