Networking Forums

Networking Forums > Computer Networking > Linux Networking > proftpd (and other ftp servers), gftp and umask not working as expected - SOLVED

Reply
Thread Tools Display Modes

proftpd (and other ftp servers), gftp and umask not working as expected - SOLVED

 
 
kevin bailey
Guest
Posts: n/a

 
      01-26-2006, 10:28 AM
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS: set default umask Ken Teague Linux Networking 4 03-07-2008 11:13 AM
Backup network cards not working as expected (metric?) Nick Gilbert Windows Networking 3 06-22-2007 12:06 PM
ACLs on Linux not working as expected... Cyphos Linux Networking 1 12-02-2005 01:40 PM
gftp thudd Linux Networking 6 01-11-2004 04:57 AM
DNS servers not working when not enabled Jim D Windows Networking 4 10-14-2003 03:26 AM



1 2 3 4 5 6 7 8 9 10 11