Michael Luton
09-24-2001, 03:20 PM
I'm sure this question is so easy it's ridiculous but I can't seem to find a solution on my own so here goes.
I'm using Red Hat 6.2 and whatever the default FTP server is that comes with it. I have 'umask 002' at the end of my .bash_profile. When I create files in the shell they of course have the correct permission (664). The most important being that they're group writtable. However, when I upload anything via FTP the permissions are 644 and thus lacking the group writtable trait.
So my question is this. How do you set the default file permission for files created via an FTP upload?
-- Michael Luton
I'm using Red Hat 6.2 and whatever the default FTP server is that comes with it. I have 'umask 002' at the end of my .bash_profile. When I create files in the shell they of course have the correct permission (664). The most important being that they're group writtable. However, when I upload anything via FTP the permissions are 644 and thus lacking the group writtable trait.
So my question is this. How do you set the default file permission for files created via an FTP upload?
-- Michael Luton