Hide Forgot
SELinux is preventing /usr/sbin/smbd from 'write' accesses on the directory untitled folder. ***** Plugin catchall_boolean (47.5 confidence) suggests ******************* If you want to allow samba to share users home directories. Then you must tell SELinux about this by enabling the 'samba_enable_home_dirs' boolean. Do setsebool -P samba_enable_home_dirs 1 ***** Plugin catchall_boolean (47.5 confidence) suggests ******************* If you want to allow samba to share any file/directory read/write. Then you must tell SELinux about this by enabling the 'samba_export_all_rw' boolean. Do setsebool -P samba_export_all_rw 1 ***** Plugin catchall (6.38 confidence) suggests *************************** If you believe that smbd should be allowed write access on the untitled folder directory by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep smbd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:smbd_t:s0 Target Context unconfined_u:object_r:user_home_t:s0 Target Objects untitled folder [ dir ] Source smbd Source Path /usr/sbin/smbd Port <Unknown> Host (removed) Source RPM Packages samba-3.5.11-71.fc15.1 Target RPM Packages Policy RPM selinux-policy-3.9.16-39.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen Wed 12 Oct 2011 05:09:19 PM CDT Last Seen Wed 12 Oct 2011 05:10:09 PM CDT Local ID 9619c92c-d028-4b9a-bc35-fd8d1f00f888 Raw Audit Messages type=AVC msg=audit(1318457409.927:96953): avc: denied { write } for pid=28924 comm="smbd" name=756E7469746C656420666F6C646572 dev=dm-0 ino=245886 scontext=system_u:system_r:smbd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir type=AVC msg=audit(1318457409.927:96953): avc: denied { remove_name } for pid=28924 comm="smbd" name="._understanding_the_structure_of_joomla.1.0.pdf" dev=dm-0 ino=134907 scontext=system_u:system_r:smbd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir type=SYSCALL msg=audit(1318457409.927:96953): arch=x86_64 syscall=unlink success=yes exit=0 a0=7fe6af5539c0 a1=7fe6af5538b0 a2=fd00 a3=1 items=0 ppid=1805 pid=28924 auid=4294967295 uid=0 gid=0 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=4294967295 comm=smbd exe=/usr/sbin/smbd subj=system_u:system_r:smbd_t:s0 key=(null) Hash: smbd,smbd_t,user_home_t,dir,write audit2allow #============= smbd_t ============== #!!!! This avc can be allowed using one of the these booleans: # samba_enable_home_dirs, samba_export_all_rw allow smbd_t user_home_t:dir { write remove_name }; audit2allow -R #============= smbd_t ============== #!!!! This avc can be allowed using one of the these booleans: # samba_enable_home_dirs, samba_export_all_rw allow smbd_t user_home_t:dir { write remove_name };
*** This bug has been marked as a duplicate of bug 745647 ***