- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Files being created with incorrect permissions
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
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
тАО04-26-2004 09:24 PM
тАО04-26-2004 09:24 PM
Files being created with incorrect permissions
I need to know a) why this is happening b) how to cure it
All help rewarded, thanks in advance.
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 09:27 PM
тАО04-26-2004 09:27 PM
Re: Files being created with incorrect permissions
FTP doesn't copy the attributes. It put the permission based on your umask setting at the Local Directory.
See man umask and ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 09:29 PM
тАО04-26-2004 09:29 PM
Re: Files being created with incorrect permissions
Check this thread.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=555929
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 09:37 PM
тАО04-26-2004 09:37 PM
Re: Files being created with incorrect permissions
- In the ftp line of /etc/inetd.conf, take a look at parm on the ftpd command
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 022
(-u xxx where xxx=umask default is 027)
- In /etc/ftpd/ftpaccess there may be a line that looks like
upload /home/user /path/to/upload/dir yes user group 0666
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 11:12 PM
тАО04-26-2004 11:12 PM
Re: Files being created with incorrect permissions
ftp doesnot preserve file permissions, it
takes permission as per umask setting. If u
need to preserve file permissions user rcp -p command. See man pages of rcp for details.
Regards.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 12:48 AM
тАО04-27-2004 12:48 AM
Re: Files being created with incorrect permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 01:23 AM
тАО04-27-2004 01:23 AM