ProFTPD file ownership on CentOS7

Issues related to applications and software problems
Post Reply
VictorBC
Posts: 2
Joined: 2016/09/12 17:08:05

ProFTPD file ownership on CentOS7

Post by VictorBC » 2019/05/31 18:22:22

Hello everybody.

I'm currently trying to setup a FTP server with ProFTPD on my CentOS7 virtual machine.
I enabled LDAP integration, and I'm able to connect using my AD user credentials.
The thing is that every file/folder that I create, the owner of those is the User described in my ProFTPD.conf file

User: apax #LDAP user#
Group: ftp_ldap_group

So when I create the new file using my AD user, the owner of this files becomes apax and the group is ftp_ldap_group.

That's ok, every user that is member to the ftp_ldap_group access the files and etc, but I need the owner to be the one who created it!
On Debian it had the same configuration and it worked, so I'm curious to know if that could be a bug related to proftpd&centos7.
Or am I missing something here?

--

I'm on the run right know, so I'm not able to upload the conf files.
For now, I just want to know if anybody else dealt with this.
Thanks.

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: ProFTPD file ownership on CentOS7

Post by chemal » 2019/05/31 19:11:26

ProFTPD isn't in CentOS, but EPEL has it.
but I need the owner to be the one who created it!
I guess you are using LDAP because your ftp users aren't system users. If so, how can an LDAP user own a file?

Post Reply