----- Original Message -----
| It is possible to use semanage to label the files correctly and to
| persist after reboot see man pages for FTP
| Hope this helps
| Russell

I'm really feeling dense today.  I can't find anywhere in the FTP man page 
anything related to SELinux labels.  I've google'd for stuff related to setting 
the context but that is NOT what I want to to.  I want to strip the context 
entirely so that autorelabel won't look at the files and directories under 
exports and attempt to apply labels and I thought that

  semanage fcontext -a -t "<<none>>" "/exports(/.*)?"

would do just that.  It seems quite obvious that I'm either mistaken or that 
I'm missing another step.  Once I do this must I also run restorecon or some 
other command?



-- 
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
          http://blogs.sfu.ca/people/jpeltier

"The smartest people are constantly revising their understanding, reconsidering 
a problem they thought they’d already solved. They’re open to new points of 
view, new information, new ideas, contradictions, and challenges to their own 
way of thinking." - Jeff Bezos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to