Re: Looking for directory paths...

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

 



On Sun, Dec 11, 2011 at 2:49 PM, Arthur Dent <misc.lists@xxxxxxxxxxxxxxxx> 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.

The advice for fixing this alert is probably useful but without knowing
the full path is actually completely useless:

If you want to allow smbd to have create access on the 05 directory
Then you need to change the label on '05'
Do
# semanage fcontext -a -t samba_share_t '05'
# restorecon  -v '05'

The problem is - I don't know where directory "05" is. It's probably
some temporary cache file or some such and trying to even find its
parent directory with a name like "05" makes using 'locate' or 'find'
really quite hard work.

In this case the alert(s) (there were several - each with a different
numerical directory name) were actually caused when I tried to sync my
iPhone using iTunes installed on a Windows XP virtual machine running
under VirtualBox on this Fedora 16 host, accessing the music library via
a Samba share on a separate partition on the Fedora 16 box.... Yeah... I
know....

But anyway - if I could find the full path of the directory in question
I *might* be able to take a closer look at where the problem lies...

Thanks in advance for any help or suggestions.

Mark


In this post Dan Walsh describe the issue, and the resolutions, in more details.

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

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux