无法从Amazon S3删除目录 [英] Can't delete directory from Amazon S3

查看:279
本文介绍了无法从Amazon S3删除目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Amazon S3的Web界面,当我右键单击文件夹X并选择Delete时,X似乎已被删除.然后,当我刷新界面时,X可能会消失或保留;如果我继续单击刷新,则文件夹丢失或存在.这是一个错误,还是我做错了什么?据我所知,文件夹仍然存在.我的一项EMR作业抱怨输出文件夹X仍然存在.

I'm using the web interface of Amazon's S3, and when I right-click a folder X and choose Delete, X seems to be deleted. Then when I refresh the interface, X may either disappear or remain; if I keep clicking refresh, the folder is either missing or present. Is this a bug, or am I doing something wrong? The folder is still present, as far as I can tell; one of my EMR jobs complains that the output folder X still exists.

推荐答案

在AWS Command Line(CLI)删除存储桶中的递归"文件夹后,AWS Web界面中出现了相同的问题.一些对象随机出现在Web界面中(不是文件,而是文件夹").即使我试图在Web界面中删除这些文件夹,它们仍然存在(界面表示操作成功...)

I had the same problem in the AWS web interface after AWS Command Line (CLI)-deleting a "recursive" folder in a bucket. Some objects randomly reappeared (not files, but in fact "folders") in the web interface. Even though i tried to delete these folders in the web interface, they were still there (The interface said the operation was successful...)

在AWS Web界面中对我有用的解决方案:右键单击文件夹-> CUT,然后将PASTE粘贴到另一个文件夹中.工作得很好,然后删除了新文件夹.消失了!

Solution that worked for me in the AWS web interface: Right clicked the folder -> CUT, and PASTE into another folder. Worked great, and then deleted the new folder. Gone!

这篇关于无法从Amazon S3删除目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆