xbenjii / torrentexpander

Automatically exported from code.google.com/p/torrentexpander
0 stars 0 forks source link

Invalid folder permission checks #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run torrentexpander with a target folder that is not owned by the current 
user, but who is owned by the group the current user is a member of. It doesn't 
matter if the group is the users primary group or not.
2. In silent mode it will complain about target folder and temp folder having 
wrong privileges.
3. It doesn't do anything. In interactive mode, it works.

What is the expected output? What do you see instead?
It shouldn't complain about missing permissions, wne in fact the folders are 
775'd and the current user is a member of the group.

What version of the product are you using? On what operating system?
Latest svn r172.

Please provide any additional information below.
When run in 32-bit Linux

Original issue reported on code.google.com by fizze2...@gmail.com on 29 Feb 2012 at 12:20

GoogleCodeExporter commented 8 years ago
I've tried to reproduce this error, but couldn't.
I also browsed through the code and the checks appear to be the same when the 
script is run in silent or in interactive mode.
These checks are just making sure directories are writable (-w).
Can you post the exact lines you used to start the script ?
Thanks

Original comment by addicted...@gmail.com on 4 Mar 2012 at 6:34

GoogleCodeExporter commented 8 years ago
I updated to the latest SVN, and cannot reproduce this error anymore.
I tried interactively with a single .avi file as parameter. Silent mode works. 
It is now also fine when run through rtorrent.

Original comment by fizze2...@gmail.com on 5 Mar 2012 at 3:04

GoogleCodeExporter commented 8 years ago

Original comment by login...@gmail.com on 28 Apr 2012 at 6:58