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)