fixfiles -relabel error (frrank-01)
Daniel J Walsh
dwalsh at redhat.com
Mon Jul 7 17:39:46 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Frank Murphy wrote:
> [frank at frank-01 ~]$ su - root
> Password:
> [root at frank-01 ~]# fixfiles relabel
>
> Files in the /tmp directory may be labeled incorrectly, this
> command
> can remove all files in /tmp. If you choose to remove files
> from /tmp,
> a reboot will be required after completion.
>
> Do you wish to clean out the /tmp directory [N]? y
> Cleaning out /tmp
> /sbin/setfiles: unable to stat file /home/frank/.gvfs: Permission
> denied
> /sbin/setfiles: error while labeling /home: Permission denied
> /sbin/setfiles: error while labeling /boot: Permission denied
>
>
> I'm guess /home has to be done as su - frank?
> /boot no idea.
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Yes relabeling the entire file system needs to be done as root.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkhyVOIACgkQrlYvE4MpobM8hQCeLBTVIVfVhJXVIQSkbfe+t5II
pnwAnjlYhZtfXL9gFUjyigPO8LGs0kSn
=9vpE
-----END PGP SIGNATURE-----
More information about the fedora-selinux-list
mailing list