HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to control the permission of file tranfered by...
Operating System - HP-UX
1837208
Members
3581
Online
110115
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
Go to solution
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
04-14-2004 11:28 PM
04-14-2004 11:28 PM
Hi
I notice that the permissions for any file transfered by ftp is -rw-r-----
I want to change it to be readable to all users
Thank
Burhan Koni
I notice that the permissions for any file transfered by ftp is -rw-r-----
I want to change it to be readable to all users
Thank
Burhan Koni
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2004 11:32 PM
04-14-2004 11:32 PM
Solution
Hi,
This is a security risk.
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
Regards,
Robert-Jan
This is a security risk.
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
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2004 11:38 PM
04-14-2004 11:38 PM
Re: how to control the permission of file tranfered by ftp??
First thing to check would be umask
man umask for more details.
John
man umask for more details.
John
If you never make a mistake you'll never make anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2004 11:55 PM
04-14-2004 11:55 PM
Re: how to control the permission of file tranfered by ftp??
Although setting umask is a viable option, this sets the FTP mask for ALL users, and if set to allow full read/write access (666) would be considered a security risk.
You can simply use the chmod command within the FTP session to change the permissions once the file has transferred.
You can simply use the chmod command within the FTP session to change the permissions once the file has transferred.
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