LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ftp with a umask of 002 (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-with-a-umask-of-002-a-40859/)

bspicer 01-09-2003 12:31 PM

ftp with a umask of 002
 
I have a process that needs to ftp our unix server and upload a file with rw rw r permissions. How can I set this so the file is always rw rw r .

Is there a ftp setting for the umask somewhere?

thanks


bill

adz 10-22-2003 04:03 AM

Hi. I have a similar problem. I know you can set it with the umask command but I don't want to have to type that every time. You can set it every session with umask <desired umask> just like you would through telnet or normal xterm/console. If you type umask by itself, you will just get the current umask printed out for you.


All times are GMT -5. The time now is 09:11 PM.