Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removeFile and directories and symlinks to directories #3

Closed
gracjan opened this issue Jun 10, 2014 · 4 comments
Closed

removeFile and directories and symlinks to directories #3

gracjan opened this issue Jun 10, 2014 · 4 comments
Labels
type: x-duplicate This is a duplicate of another issue in this project.

Comments

@gracjan
Copy link
Contributor

gracjan commented Jun 10, 2014

Prelude System.Directory> removeFile "a-symlink-to-a-directory"
Prelude System.Directory> removeFile "a-directory"
*** Exception: a-directory: removeLink: permission denied (Operation not permitted)

@hvr hvr added the blocked: need-more-info Progress cannot be made without additional information from the reporter. label Dec 19, 2014
@hvr
Copy link
Member

hvr commented Dec 19, 2014

...what should happen instead?

@ezyang
Copy link

ezyang commented Jan 6, 2015

This behavior is consistent with Python's os.path.remove

@Rufflewind
Copy link
Member

It's also consistent with unlink.

@gracjan
Copy link
Contributor Author

gracjan commented Feb 18, 2015

Agree. The recursive function is the problem in #15, not the one here.

@gracjan gracjan closed this as completed Feb 18, 2015
@Rufflewind Rufflewind added type: x-duplicate This is a duplicate of another issue in this project. and removed blocked: need-more-info Progress cannot be made without additional information from the reporter. labels Dec 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: x-duplicate This is a duplicate of another issue in this project.
Projects
None yet
Development

No branches or pull requests

4 participants