[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for directory paths...



On Mon, 2011-12-12 at 11:02 -0500, Daniel J Walsh wrote:
> On 12/11/2011 08:49 AM, Arthur Dent wrote:
> > Hello all,
> > 
> > When I get a SEL alert it refers only to to the actual directory
> > and not the full pathname. For example:
> > 
> > SELinux is preventing /usr/sbin/smbd from create access on the
> > directory 05=
> 
> http://danwalsh.livejournal.com/34903.html

Hi Dan,

That's a really useful blog entry. I have bookmarked it for future
reference. However, I'm not sure it helps me here. This is the raw avc
output:

Raw Audit Messages
type=AVC msg=audit(1323609255.771:112): avc:  denied  { create } for  pid=2618 comm="smbd" name="05" scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:object_r:dosfs_t:s0 tclass=dir


type=SYSCALL msg=audit(1323609255.771:112): arch=i386 syscall=mkdir success=no exit=EACCES a0=213e7cf0 a1=1ed a2=e49ff4 a3=bf90f3fc items=0 ppid=1039 pid=2618 auid=4294967295 uid=0 gid=0 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=smbd exe=/usr/sbin/smbd subj=system_u:system_r:smbd_t:s0 key=(null)

Hash: smbd,smbd_t,dosfs_t,dir,create

The partition where the music files are kept is a FAT drive (historical
accident). Does that explain why there are no inode numbers?

Thanks for the help...

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Fedora Users]     [Fedora Legacy]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Photos]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

Powered by Linux

Google
  Web www.spinics.net