Skip to content

Dies on symlinks #8

Description

@Blake-

In this case "/backup2/home.com.0/etc/squirrelmail/conf.pl" was a bad symlink

root@Linux:~# /root/NeoPI/neopi.py -A -a /backup2/home.com.0/

   )         (   (
( /(         )\ ))\ )
)\())  (    (()/(()/(

(()\ ))\ ( /())())
(()/((
))())())
| | ()) (() _ _ |
| .` / -
) _ \ /| |
|
|_/| || Ver. *.USEGIT

Traceback (most recent call last):
File "/root/NeoPI/neopi.py", line 449, in
for data, filename in locator.search_file_path(args, valid_regex):
File "/root/NeoPI/neopi.py", line 309, in search_file_path
if (valid_regex.search(file) and os.path.getsize(filename) > SMALLEST):
File "/usr/lib/python2.7/genericpath.py", line 49, in getsize
return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/backup2/home.com.0/etc/squirrelmail/conf.pl'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions