It's always been Ubuntu. share files to Windows under UBUTNU, how do I mount Windows shared files?
It's time for the Mount command to play!
Mount the workspace folder on Windows to the MNT directory, and the permissions for the files and folders are 0777:
// 192.168.1.112/workspace mnt/-o user=lcg,pass=123456,file_mode=0777,dir_mode=0777
Look at the results:
Under Windows:
UBUTNU under:
What a success! It seems that this is not true, but the owner and user groups are root, look uncomfortable, let us swing up the oars ... JUST do IT!
1. First unload the directory on the previous mount.
sudo umount mnt/
2. View your user's ID and user group ID (uid,gid)
ID LCG
3. Everything is available, let's set sail
// 192.168.1.112/workspace mnt/-o user=lcg,pass=123456,file_mode=0777,dir_mode=0777,uid=1000,gid=1000
4. View the mounting results again
5. Perfect! (In fact, there is no use)
Mount a shared file under Windows to Ubuntu