in reply to Re^2: Problem with renaming files in directory
in thread Problem with renaming files in directory
Since you are not explicitly using -T, look into setuid or setgid.Insecure dependency in rename while running with -T switch at (F) You tried to do something that the tainting mechanism didn't l +ike. The tainting mechanism is turned on when you're running setuid or setgid, or when you specify -T to turn it on explicitly. The tainting mechanism labels all data that's derived directly or indi +rectly from the user, who is considered to be unworthy of your trust. If + any such data is used in a "dangerous" operation, you get this error. + See perlsec for more information. Uncaught exception from user code: Insecure dependency in rename while running with -T switch at
By the way, changing readdir to glob will not solve the double-digit filename issue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problem with renaming files in directory
by ice_ice_ice (Initiate) on Jan 03, 2012 at 21:00 UTC | |
by toolic (Bishop) on Jan 03, 2012 at 21:40 UTC | |
by ice_ice_ice (Initiate) on Jan 03, 2012 at 21:59 UTC |