- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP permissions 11iv3
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
Discussions
Discussions
Forums
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
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
тАО06-02-2009 01:47 AM
тАО06-02-2009 01:47 AM
FTP permissions 11iv3
But through FTP, if i create a directory, the permission it is inheriting is 022 (not 027).
In the inetd.conf file, i have added the option with respect to my requirement to the ftpd server.
ftpd -l -u 1575.
after i do "inetd -c", in the syslog i found "bad value for -u".
so how can i set "sticky bit" with permissions what i am looking for with ftpd ?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 02:01 AM
тАО06-02-2009 02:01 AM
Re: FTP permissions 11iv3
umask works by "subtracting" permissions. 022 removes group and other write. 1575 doesn't make sense. It says remove all but user and other write:
$ typeset -i8 x=$(( ~8#1575 & 8#666 )); echo $x
8#202
>so how can I set "sticky bit" with permissions what I am looking for with ftpd?
You can't. You can only set it by chmod or an evil application that fiddles with execute and sticky bits.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 02:15 AM
тАО06-02-2009 02:15 AM
Re: FTP permissions 11iv3
you cannot set stcky/setuid/setgid permissions with umask command .Means out of four digits in the umask command the first digit should be zero
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 02:47 AM
тАО06-02-2009 02:47 AM
Re: FTP permissions 11iv3
with regards to the sticky bit, if we can't specify it with umask, any script/program which is freely available that will check for any newly created directories and set the sticky bit ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 08:11 AM
тАО06-02-2009 08:11 AM
Re: FTP permissions 11iv3
What do you mean? 202 permission is petty useless.
>with regards to the sticky bit, if we can't specify it with umask, any script/program which is freely available that will check for any newly created directories and set the sticky bit?
You can write a cron script to look and change your directories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 03:47 PM
тАО06-02-2009 03:47 PM
Re: FTP permissions 11iv3
If you are creating directories in ftp, you can also use the chmod command to add the sticky bit:
ftp> mkdir Stuff_sticky
ftp> ls "-d Stuff_sticky"
drwxr-xr-x Stuff_sticky
ftp> chmod 1755 Stuff_sticky
ftp> ls "-d Stuff_sticky"
drwxr-xr-t Stuff_sticky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 08:18 PM
тАО06-02-2009 08:18 PM
Re: FTP permissions 11iv3
Thank you all.