LINUX.ORG.RU
ФорумAdmin

проблемы с самбой


0

0

Расшарена папка для гостевого доступа. есть права на чтение запись .вот удаление и переименование файлов не возможно. все настроено под Redhat ES 5. где копать еще нужно?

anonymous

Ответ на: комментарий от tid

SELinux: Enforsing/Enforsing/Targeted

ls --lcontext /share total 280 drwxr-xr-x 2 root:object_r:root_t root root 4096 May 3 20:23 1

-rwxr-xr-x 1 root:object_r:root_t nobody nobody 818 May 4 09:18 resume.txt

-rwxr--r-- 1 root:object_r:root_t nobody nobody 259277 May 4 11:18 TFSInstall.chm

anonymous
()
Ответ на: комментарий от tid

# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=enforcing # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted

anonymous
()
Ответ на: комментарий от tid

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

# enforcing - SELinux security policy is enforced.

# permissive - SELinux prints warnings instead of enforcing.

# disabled - SELinux is fully disabled.

SELINUX=enforcing

# SELINUXTYPE= type of policy in use. Possible values are:

# targeted - Only targeted network daemons are protected.

# strict - Full SELinux protection.

SELINUXTYPE=targeted

anonymous
()
Ответ на: комментарий от anonymous

Я бы то же так сделал, хотя это неграмотное решение.
По уму надо разобраться в контекстах SELinux, выбрать нужный из существующих либо сформировать свой.

tid
()
Ответ на: комментарий от tid

это самой собой. хотя политики для самбы не были созданы совсем. и отключать было конкретно нечего из предложенного списка. пришлось временно задисайблить.

anonymous
()
Ответ на: комментарий от tid

Уже неделю пытаюсь основательно разобраться с selinux, хз, видимо я тупой, но так нагемороили...

bromantik
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.