Friday, January 6, 2012

Mount SMB shares from the command line

Mount smbfs command with permissions for the current user:

$ sudo mount -t smbfs //network-resource/folder /local-path/local-folder -o username=user,password=pass,uid=`id -u`,gid=`id -g`

No comments: