Setting umask for ftp userid

Setting umask for ftp userid

Post by Son Trung Nguy » Thu, 18 Sep 1997 04:00:00



I have created an user id for used solely as an ftp account.
ie, it serves as an automated ftp connection for copying files
from one unix machine to another.  My question is this, whenever
I test it using a 'put filename' I find that filename's permissions
tend to be only 'rw-r-----' which is sort of a problem, because
once the file has been transmitted, it needs to be accessed
by some other programs which needs to move it to a different location.
Now because the owner for these other programs are different, it can't
do these operation because of the permissions above.  Is there a way
that I can set the account up so that whenever I put a file into
the remote machine, then that file will have permission like 'rwxrw-rw'?

thanks in advance,
please email

 
 
 

Setting umask for ftp userid

Post by Tim Willso » Sun, 21 Sep 1997 04:00:00


Sure a couple of things (4)

/etc/profile if user umask 022
smit user info umask 022
.profile umask 022
or
a shell script from cron to 666 the file....

-tw



Quote:> I have created an user id for used solely as an ftp account.
> ie, it serves as an automated ftp connection for copying files
> from one unix machine to another.  My question is this, whenever
> I test it using a 'put filename' I find that filename's permissions
> tend to be only 'rw-r-----' which is sort of a problem, because
> once the file has been transmitted, it needs to be accessed
> by some other programs which needs to move it to a different location.
> Now because the owner for these other programs are different, it can't
> do these operation because of the permissions above.  Is there a way
> that I can set the account up so that whenever I put a file into
> the remote machine, then that file will have permission like 'rwxrw-rw'?

> thanks in advance,
> please email


 
 
 

1. Setting up /~USERID for ftp/http access

Hi,

At school, all of the unix machines were setup so that if you went to
the machine with a ~ and the user name, you could get to the websites
and ftp areas of all of the users.  For example,
http://themachine/~myname would let you surf into directory
/home/myname/web on that machine, and ftp://themachine/~myname would
let you access the directory /home/myname/ftp.

Can someone point me towards a FAQ on how to set this up on my RedHat
6.0 machine, so that it can be automated each time I create a new
user.

Thanks,
Greg

2. Imake

3. UMASK setting with FTP logins

4. Testing 150Mb tapes

5. Howto set ftp umask to 77x ?

6. boobs of malayalam actress

7. Help, setting Umask for FTP users

8. help on SGI 1600SW

9. setting umask for an ftp login

10. Setting umask for ftp put?

11. Setting default umask for FTP

12. Umask settings with ftp tranfers

13. how do you set umask for a ftp login