Re: Samba Sharing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux