Quote:
Originally Posted by suresh.k
Hi,
Iam using centos5.5 already configured the samba server.
I changed one folder in config file and i changed the path in config file the iam giving "chcon -t samba_share_t /soft" it is showing that chcon: can't apply partial context to unlabeled file /soft/
what is the problem and how to fix it.
Thanks
|
The problem is just what it says. You can't set just the type part of the context unless the file is already labeled with user and role. Use ls -Z to see what the file is now, and restorecon to set a default label.