Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692032 - acct-user/ftp installs files in /home
Summary: acct-user/ftp installs files in /home
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-13 02:56 UTC by Mike Gilbert
Modified: 2021-07-23 20:08 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2019-08-13 02:56:46 UTC
* Messages for package acct-user/ftp-0:
 * Log file: /var/log/portage/acct-user:ftp-0:20190813-025137.log

 * The ebuild is installing to one or more unexpected paths:
 *
 *   /home
 *
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.
Comment 1 Conrad Kostecki gentoo-dev 2021-07-23 11:06:23 UTC
My suggestion would be, to use /var/lib/ftp as default directory.
Comment 2 Mike Gilbert gentoo-dev 2021-07-23 15:47:52 UTC
Somehow both acct-user/ftp and net-ftp/ftpbase have no maintainer.

Adding maintainers of proftpd and pure-ftpd in case someone wants to adopt these packages.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-07-23 16:05:09 UTC
It's been a very long time since I last read into FTP documentation but IIRC, /home/ftp is required for anonymous FTP login. 

I might be wrong but when I set up anonymous FTP servers on Gentoo binhosts, I usually only can login and access the binpkgs without a username/password pair when /home/ftp exists and the binpkgs are available there.

@mgorny: Since you added the acct-user/ftp package, can you shed some light into this?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-07-23 17:22:10 UTC
I've just dumb-copied stuff that ftpbase did (or something like that).
Comment 5 Larry the Git Cow gentoo-dev 2021-07-23 19:50:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13723374668ce55fed9356605607546904fa205f

commit 13723374668ce55fed9356605607546904fa205f
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-07-23 11:25:35 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-07-23 19:49:15 +0000

    acct-user/ftp: update home
    
    Since '/home' is forbidden for system users,
    switching to '/var/lib/ftp' as a replacement.
    
    Bug: https://bugs.gentoo.org/692032
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 acct-user/ftp/ftp-0-r2.ebuild | 14 ++++++++++++++
 1 file changed, 14 insertions(+)