- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: UMASK for ftp account
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2013 06:10 PM - last edited on 11-18-2013 10:16 PM by Maiko-I
11-18-2013 06:10 PM - last edited on 11-18-2013 10:16 PM by Maiko-I
UMASK for ftp account
I am facing a problem where permission of a file created by a ftp account has a permission 660 while files created by the otherftp account is 644. Is this problem related to the umask for that ftp account...and if it is so then how can i change the umask value for that account?
P.S. This thread has been moved from HP-UX > System Administration to HP-UX > networking. - Hp Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2013 06:04 AM
11-19-2013 06:04 AM
Re: UMASK for ftp account
There's a number of items that we need to know about this ftp problem:
1. Model of system and version of HP-UX (ftp has changed over the last 20 years)
2. Is the permission seen on the HP-UX side (incoming files) or the destination?
There are a couple of locations for ftp permissions:
/etc/inetd.conf: ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l -u 022 -v -X -L
This example has several options but the umask value is -u 022 which would result in 644 permissions for all incoming files. This is the basic ftp line for old and newer versions of ftp.
For newer systems (11.00 and later), ftpd is the WU-FTPD code and uses several config files in /etc/ftpd.
Look at the files in /etc/ftpd:
ftpaccess
ftpgroups
ftpusers
ftphosts
There is a man page for each file.
Bill Hassell, sysadmin
- Tags:
- ftpaccess