- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Secure ftp - can a user rm/del
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
02-11-2005 01:28 AM
02-11-2005 01:28 AM
I have secure ftp running on my HPUX11 server. Users can send & receive files from one dir and are allowed only to run the ls unix command. I now need to allow a ftp user to remotely delete a file once he has received it. If I try to rm or del the file, I get
ftp> del filename
553 filename: Permission denied. (Delete)
ftp> rm filename
553 filename: Permission denied. (Delete)
ftp>
Is there anyway to allow the user to do this?
Thanks,
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 01:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 01:33 AM
02-11-2005 01:33 AM
Re: Secure ftp - can a user rm/del
If the file is automatically created, try to:
put the creating_user to a group ftpusers together where the accessing user is also a member.
then have the file be created group writable
(umask)
and chown it to
creating_user:ftpusers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 01:46 AM
02-11-2005 01:46 AM
Re: Secure ftp - can a user rm/del
Does the user have permissions to the file they are trying to delete. You always need to check that.
If they can delete the file at the shell prompt an not via ftp or sftp, then there is something to do on the ftpaccess and ftpusers file, if this is ftp and not secure ftp. Secure ftp sftp, part of openssh/secure shell does not rely on those configuration files as far as I know.
SEP
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
02-11-2005 01:46 AM
02-11-2005 01:46 AM
Re: Secure ftp - can a user rm/del
Actually I believe you will need to check the permissions on the directory these files are placed in. Even if you own the file you won't be able to delete it if you don't have the correct directory permissions.
As Florian sugguested, put both the create_user and ftp_user in the same group (e.g. ftpgrp) and then change the directory permissions to 775. To go a step further you may want to get the SGID bit on the directory so all files put in there will automatically be owned by the group (ftpgrp).
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 02:06 AM
02-11-2005 02:06 AM
Re: Secure ftp - can a user rm/del
Thanks,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2005 02:36 AM
02-11-2005 02:36 AM
Re: Secure ftp - can a user rm/del
Many Thanks,
Tim