[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Samba Sharing
- From: Stephen Smalley <sds tycho nsa gov>
- To: Frank Murphy <frankly3d fedoraproject org>
- Cc: "fedora-selinux-list redhat com" <fedora-selinux-list redhat com>
- Subject: Re: Samba Sharing
- Date: Tue, 20 Jan 2009 08:27:30 -0500
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]