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

Re: Can't reach external hdd via ftp



Yep!
I see many lines in /var/log/audit/audit.log containing "sda1" or
"muzika" similar to this line:
type=AVC msg=audit(1140640101.729:211): avc:  denied  { getattr } for 
pid=8717 comm="proftpd" name="/" dev=sda1 ino=128
scontext=root:system_r:ftpd_t tcontext=system_u:object_r:file_t
tclass=dir


And my /var/log/messages files are empty:

# l /var/log/messages*
-rw-r--r--  1 root root 0 Feb 19 04:04 /var/log/messages
-rw-r--r--  1 root root 0 Feb 12 04:13 /var/log/messages.1
-rw-r--r--  1 root root 0 Feb  5 04:06 /var/log/messages.2
-rw-r--r--  1 root root 0 Jan 29 04:11 /var/log/messages.3
-rw-r--r--  1 root root 0 Jan 22 04:06 /var/log/messages.4

That's a bit weird, isn't it?

2006/2/22, Paul Howarth <paul city-fan org>:
> On Wed, 2006-02-22 at 21:01 +0000, Dovydas Sankauskas wrote:
> > I have mounted external usb hdd in  ftp server
> > /dev/sda1 on /home/dovydas/muzika type xfs (rw)
> >
> > I can see this dir /home/dovydas/muzika, I can view and delete files obviously.
> >
> > When user dovydas connects to ftp server, there is no dir muzika in
> > his home dir, where I mounted that usb hdd. All other dirs in home dir
> > are all right, except this one. I have tried to play with various
> > mount options, like user,dev,suid, but no success.
> >
> > I have tried proftpd and vsftpd servers, but results are the same.
> > What is wrong with my server configuration?
>
> Probably nothing; I suspect it's an SELinux issue. Are there any SELinux
> denials logged in /var/log/messages or /var/log/audit/audit.log?
>
> Paul.
>
> --
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


--

Dovydas Sankauskas


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