http://Bj83.de

Mount Samba Share

Temporary Mounts (Command Line)

apt-get install cifs-utils
mount -t cifs -o username=server_user,password=secret,options //192.168.44.100/share /path_to/mount

mount -t cifs -o username=mike,password=*** //server/share /mnt/mount_dir

Permanent Mounts in /etc/fstab

apt-get install cifs-utils
nano /etc/fstab

//192.168.44.100/share /path_to/mount cifs username=server_user,password=secret,options 0 0

//server/share /mnt/mount_dir cifs username=mike,password=***,_netdev 0 0

Relevante Optionen:

gid = besitzer gruppen id
file_mode = chmod wert (0777)
dir_mode = chmod wert (0777)
rw – read + write
ro – read only
(no)auto – (keine) autom. einbindung
(no)exec – ausf├╝hren (nicht) erlauben
umask = chmod wert (0755) fuer neue Verzeichnisse und dateien
(Defaults – default werte)

genauere Informationen unter: http://de.wikibooks.org/wiki/Linux-Kompendium:_fstab

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: