HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP & Access Rights
Operating System - HP-UX
1834621
Members
2888
Online
110069
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
03-16-2000 01:56 AM
03-16-2000 01:56 AM
FTP & Access Rights
Hi,
I use ftp to put some files on the system.
User ID: guest
It has 777 to the destination direcotry(also is user "guest"'s home direcory.)
But after I put one file to the destination directory, the rights changes to
640.
Then I ran the following command:
"ftpd -u 000"
Tried to change ftp umask to 000. But it seems does not work. ( do I have to
stop this daemon and restart?)
Or any other solutions? Thanks in advance!
Sharon
I use ftp to put some files on the system.
User ID: guest
It has 777 to the destination direcotry(also is user "guest"'s home direcory.)
But after I put one file to the destination directory, the rights changes to
640.
Then I ran the following command:
"ftpd -u 000"
Tried to change ftp umask to 000. But it seems does not work. ( do I have to
stop this daemon and restart?)
Or any other solutions? Thanks in advance!
Sharon
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2000 02:26 AM
03-16-2000 02:26 AM
Re: FTP & Access Rights
You are probably launching ftpd from inetd. At least that's how HP-UX comes
configured. So you need to add the "-u 0" to the end of the ftpd line in
/etc/inetd.conf then run "inetd -c" to make inetd reread the config file.
configured. So you need to add the "-u 0" to the end of the ftpd line in
/etc/inetd.conf then run "inetd -c" to make inetd reread the config file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2000 05:56 AM
03-16-2000 05:56 AM
Re: FTP & Access Rights
The syntax of "ftpd" is:
/etc/ftpd [-l] [-t timeout] [-T maxtimeout] [-u umask]
To alter it to accept 777 change the following line needs to be modified in
/etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u000 # One Line
Once this entry has been modified, you've to restart the inetd or reread the
configuration file
inetd -k # Kills inetd
/etc/inetd #Restart inetd
or
inetd -c # Reread the /etc/inetd.conf file
/etc/ftpd [-l] [-t timeout] [-T maxtimeout] [-u umask]
To alter it to accept 777 change the following line needs to be modified in
/etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u000 # One Line
Once this entry has been modified, you've to restart the inetd or reread the
configuration file
inetd -k # Kills inetd
/etc/inetd #Restart inetd
or
inetd -c # Reread the /etc/inetd.conf file
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