proftpd (and other ftp servers), gftp and umask not working as expected - SOLVED
- From: kevin bailey <kbailey@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jan 2006 11:28:43 +0000
nasty one this - being put up as help for others.
in proftpd there is a umask setting which sets the permissions for a file
when it has been uploaded via FTP - i.e. these are the permissions the file
has on the server after it has been uploaded.
gftp - the gnu FTP client has an option called 'preserve file permissions' -
this has the effect of overriding the permissions which have been set!
i think it uses the FTP commands to do this.
(to me gftp should have this off by default so that it matches the behaviour
of other ftp clients).
this means that the umask setting in proftpd does not seem to work - when it
is from another ftp client.
HTH
PS also, if you overwrite a file the original permissions are kept.
.
- Prev by Date: what are these files: "/sys/class/net/eth1/wireless" ?
- Next by Date: Re: SMTP port being blocked on Fedora 4.
- Previous by thread: what are these files: "/sys/class/net/eth1/wireless" ?
- Next by thread: Linux Sequence Number Generation
- Index(es):
Relevant Pages
|