Implementation of shared files between Ubuntu and Windows

Source: Internet
Author: User
First, right-click the folder you want to share, select the shared folder, and change the shared attribute to Windows Network SMB in the pop-up window. Other settings are the same in Windows. In this way, you can see that the shared file has no access permission in Windows. You can change the permission in the following ways. 1. Modify smb. conf: sudogedit/etc/samba/smb. conf to remove the annotator ";" before the line of security = user, and then remove us

First, right-click the folder you want to share, select the shared folder, and change the shared attribute to Windows Network SMB in the pop-up window. Other settings are the same in Windows.

In this way, you can see that the shared file has no access permission in Windows. You can change the permission in the following ways.

1. Modify smb. conf:
Sudo gedit/etc/samba/smb. conf

Remove the annotator ";" before the line of security = user, and change the user to share to implement anonymous access.

2. Restart samba:
Sudo/etc/init. d/samba restart

In this way, you can access the folder in WinXP, but the folder is read-only and cannot be written. This is true even if the read-only attribute is removed from the Ubuntu GUI.

The folder can be read and written, and the folder permission must be changed: chmod 777 (Folder name)

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.