반응형
1. 삼바읽기/쓰기권한 모두허용
# setsebool -P samba_export_all_rw 1
2. 특정디렉토리만 허용(samba,http)
# chcon -t public_content_rw_t /share/samba_http
# setsebool -P allow_smbd_anon_write 1
# setsebool -P allow_httpd_anon_write 1
[CentOS] SELinux 로 특정 디렉토리에 접근 권한 2개 부여하기
SELinux 로 동일한 Directory 에 HTTP와 Samba 를 사용 허가를 받는법. SELinux 권한 확인: [] ls -dZ /var/www drwxr-xr-x root root system_u:object_r:httpd_sys_content_t /var/www 방법1. 제일 쉽고 단순하게..
gafani.tistory.com
'Linux > Samba&NFS' 카테고리의 다른 글
samba mount (0) | 2020.09.27 |
---|---|
NFS (0) | 2019.10.05 |
삼바공유폴더에 실행파일을 복사했을때 실행권한(rw-)이 없을때 (0) | 2018.06.04 |
Samba SELinux 권한설정 (0) | 2018.03.28 |
samba 기본설치 방법 (0) | 2016.07.18 |