HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp file permission get changed
Operating System - HP-UX
1836596
Members
1584
Online
110102
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
12-09-2003 04:07 PM
12-09-2003 04:07 PM
ftp file permission get changed
hi friends ,
when a file is being ftped from client on windows nt to the server on hp unix it permission is 640 when the mask set in /etc/inetd.config is 006.ideally the permission should be 660 as the mak is 006.
when a file is being ftped from client on windows nt to the server on hp unix it permission is 640 when the mask set in /etc/inetd.config is 006.ideally the permission should be 660 as the mak is 006.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 04:12 PM
12-09-2003 04:12 PM
Re: ftp file permission get changed
This controlled in either the ftpaccess file or the umask for the user. Since no profile is being used for ftp, it must be the ftpaccess file.
As i remember it, this is done in ftpaccess with umask just like you'd do it in the .profile file.
SEP
As i remember it, this is done in ftpaccess with umask just like you'd do it in the .profile file.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 04:22 PM
12-09-2003 04:22 PM
Re: ftp file permission get changed
By default the umask is 027 so when you ftp any files they will be created with a permission of 640, you can override this with -u option in /etc/inetd.conf file in ftpd line to what ever you want. Say a umask of 006 will give you a file with 660 permission
And the permission to change the umask is controlled by the file called /etc/ftpd/ftpaccess where umask yes|no typelist
where typelist is a comma-separated list of any of the keywords
anonymous, guest and real
Have a look at man pages of ftpaccess for more details.
Cheers
Rajeev
And the permission to change the umask is controlled by the file called /etc/ftpd/ftpaccess where umask yes|no typelist
where typelist is a comma-separated list of any of the keywords
anonymous, guest and real
Have a look at man pages of ftpaccess for more details.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 04:36 PM
12-09-2003 04:36 PM
Re: ftp file permission get changed
As I remember by default, the umask value is 027.
To establish a global 'umask' for 'ftp' add the '-u umask' argument to the daemon's startup in 'etc/inetd.conf':
# ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 022
Then, restart the 'inetd' daemon:
# /usr/sbin/inetd -c
To establish a 'umask' on a specific base case, use the 'etc/ftpdftpaccess' mechanism. See the man pages for 'ftpaccess(4)' for more information.
To establish a global 'umask' for 'ftp' add the '-u umask' argument to the daemon's startup in 'etc/inetd.conf':
# ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 022
Then, restart the 'inetd' daemon:
# /usr/sbin/inetd -c
To establish a 'umask' on a specific base case, use the 'etc/ftpdftpaccess' mechanism. See the man pages for 'ftpaccess(4)' for more information.
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