[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: giving ftp access to specif files and directories
- From: Daniel J Walsh <dwalsh redhat com>
- To: "Clarkson, Mike R \(US SSA\)" <mike clarkson baesystems com>
- Cc: fedora-selinux-list redhat com
- Subject: Re: giving ftp access to specif files and directories
- Date: Tue, 23 Sep 2008 12:16:27 -0400
Clarkson, Mike R (US SSA) wrote:
> In RHEL5.1, I don't see an interface allowing the policy writer to give
> the ftp daemon access to specific file and directory types. This would
> be nice to have.
>
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list redhat com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Not sure what you are after here. Do you want to label a directory or
file with public_content_t will allow ftp to gain access.
If the files are labeled something non default you could add allow rules
using audit2allow -M myftp.
If you want to add a type specific to ftp that other daemons would not
have access to IE Not public_content_t, you could define a module
type ftp_content_t;
files_type(ftp_content_t)
...
Then allow access. And set the labeling correct
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]