Re: [Proftpd-user] GroupOwner directive and gids

Matus UHLAR - fantomas <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
On 19.09.18 14:52, Ian Ehrenwald wrote:
>I have a problem I am trying to work around using the GroupOwner directive
> in a .ftpaccess file.  I can get Proftp to set the gid of a newly uploaded
> file when the group specified in a .ftpaccess exists on the FTP server. 
> However, I need to set the gid of files to a group that does NOT exist on
> the FTP server.  I've tried 'GroupOwner 1154073000' (the gid of the group
> that exists on a remote system that is also mounting this FTP user share
> via NFS) but proftp instead falls back to the primary group.  Is there a
> way to force Proftp to just set a gid on files without looking up if it
> actually exists on the local system?  Thank you.

I'm afraid that proftpd uses standard system functions, which don't allow
you to set group to any you are not member of.

setgid directories are often use for this case.

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Enter any 12-digit prime number to continue.


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.