Bug 147658 - Correct smbmount bin_t fix
Correct smbmount bin_t fix
Product: Fedora
Classification: Fedora
Component: selinux-policy-strict (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-02-09 22:18 EST by Ivan Gyurdiev
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-10 09:03:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ivan Gyurdiev 2005-02-09 22:18:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041228 Firefox/1.0 Fedora/1.0-8

Description of problem:
Argh - the search rule is needed, and I removed
it by accident in the last patch I sent you. 
The execute is not needed - the search is still required.

--- samba.te   2005-02-09 22:11:31.000000000 -0500
+++ samba.new    2005-02-09 22:11:22.000000000 -0500
@@ -164,6 +164,7 @@
 r_dir_file(smbmount_t, proc_t)

 # Fork smbmnt
+allow smbmount_t bin_t:dir search;
 can_exec(smbmount_t, smbmount_exec_t)
 allow smbmount_t self:process { fork signal_perms };

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. See summary

Additional info:
Comment 1 Daniel Walsh 2005-02-10 09:03:23 EST
allow smbmount_t bin_t:dir r_dir_perms;

Is in the current policy

Note You need to log in before you can comment on or make changes to this bug.