samba-note

Yum -y install samba* --skip-broken

Vi smb.conf

[web]

        Path= /usr/local/apache2/htdocs

        Browsable= yes

        Writeable=yes

Useradd apache

Smbpasswd �Ca apache


Service smb restart


Net use /delete *(windows)


Setfacl �Cm u:apache:rwx �CR htdocs/

Setfacl �Cm d:u:apache:rwx �CR htdocs/


Httpd进程的用户改为apache


你可能感兴趣的:(samba-note)