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

Issue with -x option on windows platform #93

Open
smcclosr opened this issue Oct 5, 2017 · 1 comment
Open

Issue with -x option on windows platform #93

smcclosr opened this issue Oct 5, 2017 · 1 comment

Comments

@smcclosr
Copy link

smcclosr commented Oct 5, 2017

I have a simple file that is a listing of files in directories, and execute the following sift command:

sift -e " S" files.txt

And it executes as expected, but if I want it to parse the file for files that do not have this characteristic:

sift -x " S" files.txt

I get the following output:

Error: cannot open directory 'System Volume Information': open System Volume Information: Access is
denied.
Error: cannot open directory '$RECYCLE.BIN\S-1-5-21-3013154705-1247201519-249692682-1001': open $REC
YCLE.BIN\S-1-5-21-3013154705-1247201519-249692682-1001: Access is denied.
Error: cannot open directory '$RECYCLE.BIN\S-1-5-21-3013154705-1247201519-249692682-500': open $RECY
CLE.BIN\S-1-5-21-3013154705-1247201519-249692682-500: Access is denied.
Error: cannot open directory '$RECYCLE.BIN\S-1-5-21-4125897505-198583930-2741495343-1002': open $REC
YCLE.BIN\S-1-5-21-4125897505-198583930-2741495343-1002: Access is denied.
Error: cannot open directory '$RECYCLE.BIN\S-1-5-21-4125897505-198583930-2741495343-1005': open $REC
YCLE.BIN\S-1-5-21-4125897505-198583930-2741495343-1005: Access is denied.
Error: cannot open directory '$RECYCLE.BIN\S-1-5-21-4125897505-198583930-2741495343-1006': open $REC
YCLE.BIN\S-1-5-21-4125897505-198583930-2741495343-1006: Access is denied.
Error: cannot open directory '$RECYCLE.BIN\S-1-5-21-4125897505-198583930-2741495343-500': open $RECY
CLE.BIN\S-1-5-21-4125897505-198583930-2741495343-500: Access is denied.
Error: cannot open directory '$RECYCLE.BIN\S-1-5-21-431943334-496898601-208507308-1003': open $RECYC
LE.BIN\S-1-5-21-431943334-496898601-208507308-1003: Access is denied.

@Hrxn
Copy link

Hrxn commented Oct 6, 2017

Those are protected system directories which cannot be accessed without changing ACLs etc.

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

No branches or pull requests

2 participants