No permissions under Windows write to the Samba share directory

Source: Internet
Author: User

Today I met a file under Win8 that can access Linux under the share directory of Samba, but did not have permission to write, by looking at the/etc/samb/smb.conf file, find the [hosts allow] column, I found that the network segment of Windows was 192.168.0 and the current hosts allow column did not have the segment, so I added the 192.168.0 network segment, restarted the Samba server, and solved the problem of no write permission under Windows.

Specific steps:

I. Accessing the smb.conf file

cd/etc/samba/

Vim smb.conf

Second, view the smb.conf file in the hosts Allow column, Windows is the network segment is in the column, if not add up

Hosts allow State to view before modification


Modified hosts allow


Third, restart Samba services, you can!


No permissions under Windows write to the Samba share directory

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.