- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Want to block delete from 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
08-20-2006 07:10 PM
08-20-2006 07:10 PM
Want to block delete from ftp
I want to block the mdelete command while performing ftp.So as to save my files from illegal deletion.
Please help me.....
Thanks
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 01:45 AM
08-21-2006 01:45 AM
Re: Want to block delete from ftp
Who owns the files? ("ls -l".)
Some people use file permissions to do this
kind of thing: "man chmod".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 04:15 AM
08-21-2006 04:15 AM
Re: Want to block delete from ftp
Thanks for reply actually problem is that i can not change file permission.I am using a restricted shell for this user and when i am doing ftp from this user,i am able to delete files which i can not afford to.
Please suggest something.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 09:24 AM
08-21-2006 09:24 AM
Re: Want to block delete from ftp
be able to do, and what you want _not_ to be
able to do.
> [...] i can not change file permission [...]
Why not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 03:54 PM
08-21-2006 03:54 PM
Re: Want to block delete from ftp
I tell u in detail,there are some files which has some permission say 770 ,now a 3rd party is pulling these files by ftp with the same user trough which these files are generated.
Now this 3rd party can do whatever they want do with these files,they can delete,modify etc.
So for manipulation by directly login to system is made restricted by creating a new user having restricted shell so this problem is solved by still 3rd party can delete files using mdelete from ftp prompt.
And I want to restrict this deletion.
Thanks for helping me.
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 04:34 PM
08-21-2006 04:34 PM
Re: Want to block delete from ftp
permissions like 750 on the files, and then
have a different user (with the right group)
do the FTP operations.
Of course, the file ownership must make
sense, too. The file owner (or the owner of
the file's directory) can do whatever he
wants. Anyone in the right group can
read/execute the file, whether he's a local
shell user or a remote FTP user.
I haven't used ACLs on Tru64, but I'd bet
that you can do more exotic things with them,
if you wish.
Of course, if you insist that "i can not
change file permission", then the problem
becomes more difficult.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 04:45 PM
08-21-2006 04:45 PM
Re: Want to block delete from ftp
But is there anything trough which i could avoid the command mdelete completely from FTP.
There must be something....
anyways Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 04:54 PM
08-21-2006 04:54 PM
Re: Want to block delete from ftp
(existing) FTP server? (Is wu-ftp still
popular?)
"man ftpd"? You might find something helpful.
Why only "mdelete"? What about "delete"?
And "rename"?
Why don't you like the easy solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 05:00 PM
08-21-2006 05:00 PM
Re: Want to block delete from ftp
I just thought if there is some simple way to avoid all these commands.
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 05:15 PM
08-21-2006 05:15 PM
Re: Want to block delete from ftp
happening, but not a simple way to stop a
user from asking for bad things to happen.
Also, when the user says "delete" (or
"mdelete"), the user's FTP client program
actually sends a "DELE" command (or many
"DELE" commands) to the FTP server. The
user's "rename" becomes a pair of "RNFR" and
"RNTO" commands. If you wish to stop the FTP
server from doing something, you may need to
know what it's doing now.
For a good time, FTP into your server and say
"quote help". The FTP server should reply
with a list of the commands which it
understands.
For even more fun, if your ftp client program
supports it, say "debug", and then do some
normal things. This should show you the
actual FTP commands and responses which go
between the client and server.
None of this will directly help you with your
problem, but it may be educational.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2007 09:53 PM
09-12-2007 09:53 PM