/var/tmp/badcontext

Posted at 2008/04/17 10:10 // in Tips // by Daniel

관리하는 서버가 계속 이런 파일이 생기네요

selinux관련 오류같은데

일단

restorecon으로 클리어하고 지우면 된다는군요.

selinux를 잘 몰라서.. 좀 더 알아봐야겠습니다.

http://www.redhat.com/archives/fedora-selinux-list/2004-September/msg00161.html

restorecon -f /var/tmp/badcontext.YGZFP27816
Will fix the context, then delete the files. We are investigating how do handle this better. Also
some of the bad contexts are not really bad, IE the tools not smart enough to realize that the context is
valid. Setfiles is just reporting files that don't match the regular expessions in the file_contexts file.

So cache files created by mozilla get marked as bad even though they are valid.

크리에이티브 커먼즈 라이센스
Creative Commons License

이 글에는 트랙백을 보낼 수 없습니다