diff --git a/diskimageprocessor.py b/diskimageprocessor.py index 4f969ec..2aeec30 100644 --- a/diskimageprocessor.py +++ b/diskimageprocessor.py @@ -272,7 +272,7 @@ def create_aspace_excel_sheet(args, sips, volumes, logger): # Set ASpace file permissions try: os.chmod( - path, + xlsx_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH, ) except OSError as err: