Folder sharing under Linux

Source: Internet
Author: User

[email protected] share]# Yum install samba-y
[email protected] share]#Cp/etc/samba/smb.conf/etc/samba/smb.conf.bak
[email protected] share]#Vi/etc/samba/smb.conf
#======================= Global Settings ===================================== [Global] workgroup = Workgroup Security = Share map to Guest = Bad user #============================ share definitions ============================== [Myshar E
#修改为自己的共享路径path =/sharebrowsable =yes writable = yes guest OK = yes Read only = no load printers = noprinting = Bsdpri Ntcap name =/dev/nulldisable SPOOLSS = yes

[email protected] share]#Chkconfig SMB on
[[email protected] share]# service SMB start




You can see the shared folder when you access \\IP under Windows
Set the file to 777 permissions when encountering an access error without access
[email protected] share]# chmod 777/share

Note: The above for the quick configuration there is a security risk, the physical machine is not recommended for use.

Folder sharing under Linux

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.