mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
857 B
857 B
Mount samba shares from a unix client
Table of contents
TL;DR
# Mount samba shares as user 'myself'.
# Such user and a group of the same name exist on the server.
# Show permissions on directories as octal 775 and on files as octal 664.
sudo mount '//nas.lan/shared/folder' 'local/folder' -t 'cifs' \
-o 'user=myself,uid=myself,gid=myself,dir_mode=0775,file_mode=0664'