Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2003, 11:31 AM   #1
LQ Newbie
Registered: Apr 2002
Posts: 26

Rep: Reputation: 15
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?


Old 10-22-2003, 03:03 AM   #2
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to open device gt68xxLlibusb 004:002 invalid arguments error message radatan71 Linux - Hardware 1 10-24-2005 08:07 PM
hotplug-ng-002 + LFS bootscripts 3.2.2 = a complete mess :( ParticleHunter Linux From Scratch 1 07-21-2005 09:27 PM
libusb:001:002 ? d1l2w3 Linux - Laptop and Netbook 1 01-24-2005 02:22 AM
002: NO ROM BASIC, System Halted e1000 Linux - General 2 12-21-2003 09:08 PM
umask setting on ftp server fuzzyboots Linux - Newbie 1 07-18-2003 04:13 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration