On Tue, 2009-01-20 at 11:07 +0000, Frank Murphy wrote:
sorry typo should read:
chcon -R -t samba_share_t /myfiles ( a folder immediately under /
owned by me and accessible to @samba users)
The run
semanage fcontext -a -t samba_share_t ’/myfiles(/.*)?’
to hold the context after a full relabel?
Alternatively, you can run the semanage fcontext command first, then run
'restorecon -R /myfiles' and it will apply the label you specified via
the prior semanage command to that directory tree. No need to specify
the type twice in that case.
Basically the users need r\w to /myfiles (their own sub folders of)
--
Stephen Smalley
National Security Agency