Skip to content

modified file copy to handle NFS share mount permissions - #117

Merged
abrignoni merged 1 commit into
abrignoni:masterfrom
xperylabhub:perm_issues
Nov 5, 2020
Merged

abrignoni merged 1 commit into
abrignoni:masterfrom
xperylabhub:perm_issues

Conversation

@xperylab

@xperylab xperylab commented Nov 4, 2020

Copy link
Copy Markdown

When using iLEAPP on nfs mounts, it can not modify permissions (set by nfs server). shutil.copy2 (or shutil.copy) is also copying permissions from files in git repo.
It makes sense to inherit of local output directory and it make it work on nfs mounts :)

Also deleted for same reason some chmod in bluetooth scripts. No sure what is their use...

Do not solve issue #70 as it concern samba, but same kind of problem.

NB : My weird error handling would be solved by python 3.8 and option dirs_exist_ok in shutil.copytree.

@abrignoni
abrignoni merged commit 1309e6a into abrignoni:master Nov 5, 2020
@abrignoni

abrignoni commented Nov 5, 2020 •

Copy link
Copy Markdown
Owner

Thank you so much!!!!
If you want to be added to the contributor list send me a pull request of the scripts/version_info.py file with your information added to it.

Thanks!!!!

@xperylab
xperylab deleted the perm_issues branch November 6, 2020 10:12
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

Successfully merging this pull request may close these issues.

2 participants