HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: permission withing ftp on hp11.0
Operating System - HP-UX
1833464
Members
3034
Online
110052
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
07-16-2003 10:18 AM
07-16-2003 10:18 AM
Hi,
Now I have another question with regards ftpaccess.
when I ftp in, and put the file in, I got permission of "640", at what configurations I can change the default to 660.
Thanks,
Now I have another question with regards ftpaccess.
when I ftp in, and put the file in, I got permission of "640", at what configurations I can change the default to 660.
Thanks,
none
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 10:30 AM
07-16-2003 10:30 AM
Solution
Hi:
You can add the '-u umask' argument to the 'ftpd' entry in 'etc/inetd.conf' and restart the 'inetd' daemon ('inetd -c'). This will globally specify the umask for everyone.
You can also set a 'defumask' by class in the 'ftpaccess' file. See the man pages for 'ftpaccess(4)' -- man 4 ftpaccess.
Regards!
...JRF...
You can add the '-u umask' argument to the 'ftpd' entry in 'etc/inetd.conf' and restart the 'inetd' daemon ('inetd -c'). This will globally specify the umask for everyone.
You can also set a 'defumask' by class in the 'ftpaccess' file. See the man pages for 'ftpaccess(4)' -- man 4 ftpaccess.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 10:31 AM
07-16-2003 10:31 AM
Re: permission withing ftp on hp11.0
Two ways:
1) For temp. ftp session, use "umask" command inside the session:
ftp> umask 022
2) For changing the default permission for all ftp sessions, edit /etc/inetd.conf file and add "-u" option followed by the umask set number. Then restart inetd:
ftp ...options ... -u 022
# inetd -c (restart)
1) For temp. ftp session, use "umask" command inside the session:
ftp> umask 022
2) For changing the default permission for all ftp sessions, edit /etc/inetd.conf file and add "-u" option followed by the umask set number. Then restart inetd:
ftp ...options ... -u 022
# inetd -c (restart)
Life is a promise, fulfill it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 10:39 AM
07-16-2003 10:39 AM
Re: permission withing ftp on hp11.0
Three ways.
In session use umask command.
Put it as class in ftpaccess file
put it in inetd.conf. ftpd -u "umask"
In session use umask command.
Put it as class in ftpaccess file
put it in inetd.conf. ftpd -u "umask"
There is no substitute to HARDWORK
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