[CentOS] chcon failed to change context Permission denied
Tim Smith
r.a.n.d.o.m.d.e.v.4+centos at gmail.comFri Feb 10 15:59:12 UTC 2017
- Previous message: [CentOS] An rpm package with country flags in PNG format for CentOS 6
- Next message: [CentOS] chcon failed to change context Permission denied
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I'm confused, why can root not change context of a directory ? I've moved a mysql dir from /var/lib to another drive. But running sudo chcon -R -t mysqld_t ./mysql Yields a screen full of messages such as chcon: failed to change context of ‘schema_table_lock_waits.frm’ to ‘system_u:object_r:mysqld_t:s0’: Permission denied (and yes, mysql was shut down before the move and is till shut down).
- Previous message: [CentOS] An rpm package with country flags in PNG format for CentOS 6
- Next message: [CentOS] chcon failed to change context Permission denied
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list