HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp and file permissions
Operating System - HP-UX
1829107
Members
2725
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-13-2001 11:59 AM
12-13-2001 11:59 AM
ftp and file permissions
Hi,
When I FTP a file over to a HP-Ux 11.0 machine even though the umask is set to 022(644)rw-r-r the file which got ftped over gets only rw-r-
Is there a way to ftp files over from windows and still get the permissions of the umask for the user.
Is there any setting in the ftp server on the unix machine which can change this?
When I FTP a file over to a HP-Ux 11.0 machine even though the umask is set to 022(644)rw-r-r the file which got ftped over gets only rw-r-
Is there a way to ftp files over from windows and still get the permissions of the umask for the user.
Is there any setting in the ftp server on the unix machine which can change this?
webapp
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2001 12:03 PM
12-13-2001 12:03 PM
Re: ftp and file permissions
Hi,
Look at this doc..
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=5912471f13a102c13b/screen=ckiDisplayDocument?docId=200000051808646
-USA..
Good Luck..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2001 12:29 PM
12-13-2001 12:29 PM
Re: ftp and file permissions
Anil,
You have two alternate ways to change ftp file permissions:
1) You can make the change globally for the ftp service by editing
the /etc/inetd.conf file:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -uxxx
Note: Where xxx would be the umask that you select.
After any change to the /etc/inetd.conf file, inetd must
re-read the new inetd.conf file:
inetd -c <-- make inetd re-read the inetd.conf file.
-OR-
2) Use the umask command while the ftp session is active. This will
only affect the current session for the user connection.
ftp> umask # current mask
200 Current UMASK is 777
ftp> umask 027 # change to new mask
200 UMASK set to 027 (was 777)
ftp> umask # verify new mask
200 Current UMASK is 027
HTH,
Shiju
You have two alternate ways to change ftp file permissions:
1) You can make the change globally for the ftp service by editing
the /etc/inetd.conf file:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -uxxx
Note: Where xxx would be the umask that you select.
After any change to the /etc/inetd.conf file, inetd must
re-read the new inetd.conf file:
inetd -c <-- make inetd re-read the inetd.conf file.
-OR-
2) Use the umask command while the ftp session is active. This will
only affect the current session for the user connection.
ftp> umask # current mask
200 Current UMASK is 777
ftp> umask 027 # change to new mask
200 UMASK set to 027 (was 777)
ftp> umask # verify new mask
200 Current UMASK is 027
HTH,
Shiju
Life is a promise, fulfill it!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP