Linux使用mount挂载samba共享文件夹

挂载smb的目录,使用读写644权限
mount -t cifs -o "rw,dir_mode=0644,file_mode=0644,username=username,password=yourpassword" //192.168.1.100/yourshare_folder_name /usr/local/your_server_folder

猜你喜欢

转载自www.cnblogs.com/faberbeta/p/samba003.html