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

TVRename cannot delete source files set as read-only when performing a Move operation #129

Open
GoogleCodeExporter opened this issue Apr 2, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Download a TV episode using uTorrent 3.3.1 with default settings
2. Upon download completion, check the file was silently set by uTorrent as 
Read-Only
3. Scan the directory the show was downloaded to and attempt to move it to your 
TV Shows directory with TVRename

What is the expected output? What do you see instead?

One would have expected the source file to be deleted, however it isn't as it 
turns out it was silently set by uTorrent as read-only.

What version of the product are you using? On what operating system?

TVRename 2.2.4, Windows 7 Ultimate SP1 x64.

Please provide any additional information below.

When attempting to move files which have been downloaded by uTorrent, the file 
will be copied to the destination however the source file will not be deleted. 
An exception will occur in mscorlib.dll resulting in TVRename displaying an 
anomalous "Access to the path is denied" error.

The cause of this error is that, by default, uTorrent sets all files it 
downloads to be "read-only" (setting bt.read_only_on_complete in Preferences -> 
Advanced).

While this is clearly not a problem with TVRename, TVRename could be perhaps 
enhanced to detect when a file is read-only and then prompt asking whether or 
not the user would really like to perform the action. Alternatively, TVRename 
could silently overwrite the permissions of the file and delete it without 
notice.

Original issue reported on code.google.com by [email protected] on 22 Mar 2014 at 7:16

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

No branches or pull requests

1 participant