Mount a shared file under Windows to Ubuntu

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.