Getting 'The file is already being used by another process.'
Opened this issue · 0 comments
mfandre commented
This simple script is getting 'The file is already being used by another process.'
from winsys import fs
folder_path = "c:"
for f in fs.flat (folder_path):
print(f)
for ace in f.security().dacl:
access_flags = fs.FILE_ACCESS.names_from_value (ace.access)
winsys.security.x_security: (32, 'GetNamedSecurityInfo', 'O arquivo já está sendo usado por outro processo.')