Displaying 5 results from an estimated 5 matches for "mnt_t".
2010 May 31
1
ARGH... once again samba causes "permission" errors. SOLVED
...5 filesystem in my case.
Well, I'm running CentOS 5.5 and it has SELinux enabled by default
but the context on the share path is probably not allowing samba.
you can check the context of the path with the -Z switch ls:
[root at nas samba]# ls -ldZ /mnt
drwxr-xr-x root root system_u:object_r:mnt_t /mnt
In this case the context is "mnt_t", you need to change the
context to samba_share_t
[root at nas samba]# chcon -t samba_share_t /mnt/nas
[root at nas samba]# ls -adZ /mnt/nas
drwxr-x--- nas nas system_u:object_r:samba_share_t /mnt/nas
Now your share should both mount a...
2016 Feb 29
0
Odd selinux complaints on new, fully updated CentOS 7
...ule to allow this access.
Do
allow this access for now by executing:
# grep systemd-readahe /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
Additional Information:
Source Context system_u:system_r:readahead_t:s0
Target Context system_u:object_r:mnt_t:s0
Target Objects .readahead.new [ dir ]
Source systemd-readahe
Source Path systemd-readahe
Port <Unknown>
Host <hostname>
Source RPM Packages
Target RPM Packages
Policy RPM...
2007 Jan 26
0
Dovecot POP3 fails to chdir under FC6
...ound out POP3 connection failures also logged an error to /etc/messages:
Jan 24 13:20:00 mmace kernel: audit(1169662800.479:160): avc: denied {
search } for pid=18792 comm="dovecot" name="/" dev=sda3 ino=2
scontext=system_u:system_r:dovecot_t:s0
tcontext=system_u:object_r:mnt_t:s0 tclass=dir
So, selinux was the culprit. My home directories had the right selinux
security context,
but the root of the disk holding those home directories (/branch is a
separate disk drive)
had a security context (system_u:object_r:mnt_t) that Fedora's selinux
rules for dovecot
did not...
2008 Jul 13
1
Can an ISO be specified allow mount "setsebool -P allow_mount_iso=1" insted of "setsebool -P allow_mount_anyfile=1" SE context samba share
Summary:
SELinux prevented mount from mounting on the file or directory
"./Fedora-9-Everything-i386-DVD1.iso" (type "samba_share_t").
Detailed Description:
SELinux prevented mount from mounting a filesystem on the file or
directory
"./Fedora-9-Everything-i386-DVD1.iso" of type "samba_share_t". By
default
SELinux limits the mounting of filesystems to only
2011 Jun 09
0
Samba on RHEL 6: Permission denied when mounting FUSE partition
...same on both machines)
- output from smbclient command for RHEL 6
- some debug output from my fuse implementation for RHEL 5
- some debug output from my fuse implementation for RHEL 6
Also, ls -ldZ gives the following outputs:
RHEL 5, regular share:
drwxr-xr-x root root root:object_r:mnt_t regshare/
RHEL 5, fuse share:
drwxr-xr-x root root system_u:object_r:fusefs_t iFSG-EE/ // (FUSE share)
RHEL6 regular share:
drwxr_xr_x. root root unconfined_u:object_r:mnt_t:s0 regshare/
RHEL6 fuse share:
drwxr_xr_x. root root system_u:object_r:fusefs_t...