Re: query on SELinux

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

 



Globe Trotter wrote:

--- Paul Howarth <paul@xxxxxxxxxxxx> wrote:

On Tue, 2006-04-04 at 19:17 -0700, Globe Trotter wrote:
Does anyone have any comments on this? I am asking this question, because
wherenever I update SELinux or set permissions, it says something about
permissions and exitence of /usr/local/trotter, not updating context or
something like that.

Is this something I should worry about: does it make SELinux useless for
me?
Many thanks amd best wishes,
Not sure exactly what it's complaining about, but try this:

# chcon -Rh -t user_home_t /usr/local/trotter
# chcon -t user_home_dir_t /usr/local/trotter

That should make the file contexts of your home directory the same as
they would be if it was under /home.

These contexts probably won't survive a relabel, if you were to do one.
The way to fix that would depend on which Fedora release you were using.

Paul.

Hi Paul,

I am using FC5. But what do you do if there are multiple users in the
/usr/local/homedirectory framework?

Do the same thing for each user.

Or, if you have *only* home directories under /usr/local (i.e. none of the /usr/local/bin, /usr/local/lib stuff that most systems have), you could just do:

# chcon -Rh -t user_home_t /usr/local/*
# chcon -t user_home_dir_t /usr/local/*

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux