umask for an ftp account


 
Thread Tools Search this Thread
Operating Systems HP-UX umask for an ftp account
# 1  
Old 04-07-2008
umask for an ftp account

Hi,

I have an ftp account which is used for transferring files to a UNIX box.
eventhough the permissions on the source box for the files are 777, when it reaches the destination node via this ftp transfer the permissions is getting changed to -rw-r-----

can someone please help me?

umask set on the destination server is 002
# 2  
Old 04-07-2008
-> umask set on the destination server is 002
Where?

Here is what I would do... (set a default umask for ftp)
In /etc/inetd.conf:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -u 007 #(or 077...)
# 3  
Old 04-07-2008
You may not get exactly what you want on permissions.

See man page for umask AND Perderabo's UNIX File permissions

See ftp permissions problems help for setting umask on ftpd.
# 4  
Old 04-07-2008
Thanks vbe and RTM.

It seems I will have to check with my UNIX admin as the user is 'root'

byfusp01 $ ll inetd.conf
-r--r--r-- 1 root sys 5462 Jun 29 2006 inetd.conf

currently it is set as:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a

Anyways many thanks for the valuable information.

Cheers
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Default umask setting during ftp AIX

Hi, I have set below option in following file /etc/inetd.conf in AIX. ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd -u 2 But still it created the file with permission (640): -rw-r----- 1 ftptosas ftpusrg 6091 Jul 28 12:23 diff_061920.txt Required permission... (1 Reply)
Discussion started by: mageshpsv01
1 Replies

2. Linux

uid of an account which accesses ftp/http

Hi Techs, Please guide me the answer with the explanation. Q1) What is the uid of an individual account which can access ftp/http? Thanks in advance to all. (3 Replies)
Discussion started by: ajazshariff
3 Replies

3. AIX

default umask setting during ftp

Hi all, How do i change the default primary group of files uploaded in AIX (via ftp) in such a way that the files will be owned by tom:staff? I understand that the default file permission can be set in /etc/profile for aix by adding a new line umask=032 Do I add a line in umask as well?... (5 Replies)
Discussion started by: chipahoys
5 Replies

4. AIX

FTP user and Umask issue

Guy's I have user ID created in AIX calld FTPuser in AppServer Umask for this user ( FTPuser ) is umask 002 from my workstation I'm doing as the following ftp Appserver Connected to Appserver. 230 User FTPuser logged in. put testfile.sh file will be transferd but the issue... (1 Reply)
Discussion started by: ITHelper
1 Replies

5. UNIX for Dummies Questions & Answers

Creating FTP account using SSH (putty)?

Hello, : ) I have a remote access to the server that hosts my joomla, and it does not have cpanel. So I have to do everything manually. I need to have an FTP account to the httpdocs folder because I need to put these info in the config file of joomla (to allow file uploading ...etc) So,... (8 Replies)
Discussion started by: Hayatt
8 Replies

6. Shell Programming and Scripting

how i can make one ip access to ftp account and deny others

HI I want to make only one IP can access to ftp acount in cpanel or by shell can any body help me ? (1 Reply)
Discussion started by: elkadrey
1 Replies

7. UNIX for Dummies Questions & Answers

Setting up FTP account

Hi, I am new to the workd of FTP administration. I was asked to make an account on our FTP server so that someone can only download and upload to his home directory. The account is made but what settings/cconfiguration can I verify to ensure that the user has access to his home directory only?... (1 Reply)
Discussion started by: mojoman
1 Replies

8. UNIX for Dummies Questions & Answers

How do you set up an FTP user account?

1) How do you set up an FTP user account on a Solaris Unix box? Please show the steps (assuming I have root account access). 2) Where are the FTP user account information stored? For example: Unix user accouns are stored on /etc/passwd what about ftp user account where are they stored? Thanks... (3 Replies)
Discussion started by: XZOR
3 Replies

9. Solaris

ftp account locking

I need some help trying to figure out why our ftp account keeps getting locked with no manual intervention. We have end of day processes that run nightly and the last thing it does is ftp files to a server. Everyonce in a while the script fails because the account has been locked. How could this... (5 Replies)
Discussion started by: morgadoa
5 Replies

10. UNIX for Dummies Questions & Answers

Ftp account change password

How can I change the password from an ftp user account on a ssh server? Please give me simple instructions for a users who hasn't a lot of experience. :D Just the words in form of a list thanks a lot. (1 Reply)
Discussion started by: m.seidenberg
1 Replies
Login or Register to Ask a Question