08.21.2019
chcon: can't apply partial context to unlabeled file
Sometime you need to change label for your directory to work with samba. but error has occur.
if you got error chcon: can't apply partial context to unlabeled file '/home/share', using full label for directory. because this directory dosen`t have any label, so it cant get a partial label.(you can see current label with ls -Z).use below command to set full label for it:
chcon -h system_u:object_r:samba_share_t /home/share
chcon -R -h system_u:object_r:samba_share_t /home/share
Done
Happy coding