mount cifs in linux with permissions
sudo mount -t cifs -o username=xxxxxxx,file_mode=0777,dir_mode=0777 //192.168.1.xxx/smb /mnt/windows/