- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp umask not working
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
Forums
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
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
07-22-2004 08:44 AM
07-22-2004 08:44 AM
ftp umask not working
I have modified our /etc/inetd.conf to include the following at the end of the ftp entry:
-u 022
I then save the file and perform the following to reread the file:
/usr/sbin/inetd -c
I have done this using various umask settings and still, when I put a file on the box the permissions are always rw-rw-rw-.
Any ideas on what could be causing this or why the umask is not working?
I am at a loss here, but as usual I feel there is something obvious that I am missing.
Any help would be great.
Thanks,
Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 08:54 AM
07-22-2004 08:54 AM
Re: ftp umask not working
my answer sounds not so much clever to myself too but .. sometimes i noticed that inetd -c fails rereading correctly inetd.conf ... don't know really why, anyway changes where applied only restarting completely inetd with /sbin/init.d/inetd stop/start.
Did you try that?
As i told you i know my solution is a microsoft one, but it could be worth to try :-))
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 10:49 AM
07-22-2004 10:49 AM
Re: ftp umask not working
see link:
http://docs.hp.com/hpux/onlinedocs/B2355-90778/00/00/22-con.html
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 10:49 AM
07-22-2004 10:49 AM
Re: ftp umask not working
/usr/sbin/inetd -k # kill inetd
/usr/sbin/inetd -l # restart it with logging enabled, skip -l if you do not want logging
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 01:13 PM
07-22-2004 01:13 PM
Re: ftp umask not working
As others have said maybe inetd is not re-reading the configuration. But default umask for ftp is 027 so doesn't really explain the rw-rw-rw- permissions.
One thing that occured to me is that maybe its being overridden by an entry in /etc/ftpd/ftpaccess file if you are using this file. Just a thought....
Whats the entry for ftpd in inetd.conf??
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2004 07:58 AM
07-28-2004 07:58 AM
Re: ftp umask not working
Con,
Here is what the entry in my inetd.conf looks like:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 022
As for the re-read of inetd...that could be. I will test it and see if that is the case.
Thanks,
-Bryan