[HPADM] Re: FTPD UMASK
- From: Corne Beerse <cbeerse@xxxxxxxxx>
- Date: Thu, 28 Feb 2008 09:59:24 +0100
Marshall, Richard wrote:
Correct me if I'm wrong. The security and umask settings can best be calculated in ocatal and/or binary format. I always drop down to binary mode for the settings. The wished settings are rw-rw----, in binary (triplets) 110.110.000.
Hello:
I have a group to which several users are assigned, the umask for these users is set 00 and the current ftpd umask is set to 027 (default). I know how to change the ftpd umask value, but not sure what it should be changed to in order to produce the following:
User wants all files ftp’ed from remote host to local host user accounts to be u=rw,g=rw permissions
With the umask, you can force the 0-s. Hence to force that, the umask in binarie must be 001.001.111. These triplets transfer to octal as 0117. As far as I know, the umask is in octal so there you have it. Be noted, an octal value is always preceded by a '0', just as a hex value is preceded by '0x'.
I might be off, but the sticky bits and such are also part of this security settings. If you want to force them too, the numbers just get larger: To force no sticky bits, the bin number becomes 011.001.001.111 and the octal 03117. There are more bits but I donnot know them by head. And this larger umask value might be ignored, specially in the ftp-server, because they are ignored at all.
CBee
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@xxxxxxxxxxxxx
Name: hpux-admin@xxxxxxxxxxxxx Owner: owner-hpux-admin@xxxxxxxxxxxxx
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- References:
- [HPADM] FTPD UMASK
- From: Marshall, Richard
- [HPADM] FTPD UMASK
- Prev by Date: [HPADM] FTPD UMASK
- Next by Date: [HPADM] FTPD UMASK
- Previous by thread: [HPADM] FTPD UMASK
- Next by thread: [HPADM] FTPD UMASK
- Index(es):
Relevant Pages
|