Security issue

by RameshKumar 2007-09-03 13:52:56

Here i would like to share a small issue which i faced in SE_Linux..

Unfortunately i deleted the tmp folder, after deleting it i was trying to start mysql
but it displays an error " cant create/write to file "tmp/ibMg490V"".

After that i created a new tmp directory, and changed the user context using
chcon command (i.e changed root user to system user).

chcon -Ru system_u /tmp/

I used the above command to change files recursively(-R) form user to system user(-u) in the tmp folder.

But the issue does not get solved, finally it solved just by giving read, write, execute permision for the tmp folder.

Tagged in:

2224
like
0
dislike
0
mail
flag

You must LOGIN to add comments