- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Access right for files get via ftp
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
12-19-2005 07:52 PM
12-19-2005 07:52 PM
Access right for files get via ftp
On the UX platform, I already set the access right as -r--r--r-- for the text file generated
But after ftp get, the file can still be further modified. Our objective is the user is never allowed to modify on such text file at all, if required, they need to login the ERP system, modify the required info, then regenerate the text file again, ie. the ERP system & the bank application always with the figures being synchronized. Is this possible to achieve this? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 07:57 PM
12-19-2005 07:57 PM
Re: Access right for files get via ftp
textfile with permission of 444 is ftped from hp-ux to windows machine (desktop) and able to modify the contents on that text file??
Please elaborate the problem more?
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:14 PM
12-19-2005 08:14 PM
Re: Access right for files get via ftp
A text file is created on the UNIX server, with access permission set as 444 - after ftp to Windows, the content can still be further modified & get saved.
But I need to have this file set as read-only, no matter it is on UNIX (already achieved this) or on Windows (not succesfully yet)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:38 PM
12-19-2005 08:38 PM
Re: Access right for files get via ftp
Once it goes to windows and if you are admin on it, you can do whatever you want.
You need to set the file perms on windows to read only to all and everything to windows admin.
This has certainly nothing to do with unix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:42 PM
12-19-2005 08:42 PM
Re: Access right for files get via ftp
Just inputs to help you understand what is going on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 08:46 PM
12-19-2005 08:46 PM
Re: Access right for files get via ftp
chmod 440 then only the owner and group
can read and no one can modify.
Once the file is on windows it is a different
command to do 'cacls' to limit permissions,
just after your ftp command.
CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
Success
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 12:31 AM
12-20-2005 12:31 AM
Re: Access right for files get via ftp
This means you need a manual control or an automated closed system to handle the transfer submission.
One possibility that may help for now is to stop the FTP of the file completely and instead of ftp, to set-up a Samba/CIFS share for that directory on UNIX, read-only. Have that user's PC mount the Samba share as a drive and point the bank web app at the new drive, so that the user imports the file directly into the web app from the share - no ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 01:24 PM
12-20-2005 01:24 PM