Problem accessing samba shares with enforcing enabled

Paul Howarth paul at city-fan.org
Mon Jul 10 07:47:49 UTC 2006


On Sun, 2006-07-09 at 17:45 +0200, Jan Meier wrote:
> Hello,
> 
> I get the following avc denied when I try to write a file via samba from a 
> remote machine:
> 
> jeeves kernel: audit(1152459345.543:71): avc:  denied  { write } for  pid=2332 
> comm="smbd" name="jan" dev=hda1 ino=131 scontext=root:system_r:smbd_t:s0 
> tcontext=root:object_r:smbd_t:s0 tclass=dir
> 
> ls -Z for the proper directory where I want to write into shows:
> 
> drwxr-xr-x  jan users root:object_r:smbd_t jan
> 
> Any suggestions?

It should be samba_share_t, not Smbd_t.

Paul.




More information about the fedora-selinux-list mailing list