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

Delete symlink of non-existent source in revoking #297

Merged
merged 1 commit into from
Feb 5, 2013

Conversation

r7kamura
Copy link

@r7kamura r7kamura commented Feb 1, 2013

In a phase of revoking CreateLink, it confirms the existence of source file only by File.exists?. So when the destination is a symlink and the source file does not exist, it returns false. This can be trouble depending on the execution sequence.

In a phase of revoking CreateLink, it confirms the existence of file only
by `File.exists?`. So when the destination is symlink and the source file does
not exist, it returns false. This can be trouble depending on the execution
sequence.
eventualbuddha added a commit that referenced this pull request Feb 5, 2013
Delete symlink of non-existent source in revoking
@eventualbuddha eventualbuddha merged commit 9ba571c into rails:master Feb 5, 2013
@r7kamura r7kamura deleted the revoke_symlink branch November 14, 2013 14:04
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

Successfully merging this pull request may close these issues.

2 participants