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

unable to remove symlink #69

Open
GuyMograbi opened this issue May 5, 2015 · 3 comments
Open

unable to remove symlink #69

GuyMograbi opened this issue May 5, 2015 · 3 comments

Comments

@GuyMograbi
Copy link

Hi,

I am using grunt-contrib-symlink to generate links between folders.

But now, the build fails on clean stating that: Cannot delete files outside the current working directory.
When in fact, I want the symlink to be removed and that is inside the current working directory.

@GuyMograbi
Copy link
Author

BTW if anyone is wondering how I resolved this for now - my target is to remove all symbolic links between builds - so I am using shell command find -type l -delete found at http://unix.stackexchange.com/questions/39333/how-can-i-remove-all-symbolic-links-with-a-special-target with grunt shell plugin (https://github.com/sindresorhus/grunt-shell)

@AndersDJohnson
Copy link
Member

@GuyMograbi Can you show your config? Are you attempting to match files under the symlink in its target directory?

@AndersDJohnson
Copy link
Member

Relates to #30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants