Re: Bug ? on "semanage fcontext" when directory name is starting with Upper case

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

 



I might have miss-lead the subject.

The reality is, after successfully added the context, restorecon was
anable to restore the context when the directory mame is "Smarty".

So, I should have posted on restorecon matter.

When the directory name is "smarty", restorecon restores the context
to httpd_rw_sys_content_t, but, when the name is "Smarty", returns
nothing and could not delete by semanage, either.

2014-02-10 9:10 GMT+09:00, Daniel J Walsh <dwalsh@xxxxxxxxxx>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 02/08/2014 02:18 PM, Shintaro Fujiwara wrote:
>> semanage fcontext -a -t httpd_sys_rw_content_t /var/www/dir
> Works fine for me.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlL4GNwACgkQrlYvE4MpobOCzwCeMlYlTMHOoDjG/MxIPTEELcz2
> FzYAnRwjIF8IOkbPi0dfsxmUEjYC+Nit
> =WjXF
> -----END PGP SIGNATURE-----
>


-- 
日本にヘヴィメタル・ハードロックを根付かせるページ
http://www.heavymetalhardrock.tk/

世界中でセキュアOSのSELinuxを使いやすくするフリーソフト
http://sourceforge.net/projects/segatex/

CMS(PHPとPostgreSQLを使ったフリーソフト)
http://sourceforge.net/projects/webon/
--
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