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

improve creation of directories for destination files #18

Open
adammoody opened this issue Dec 28, 2018 · 1 comment
Open

improve creation of directories for destination files #18

adammoody opened this issue Dec 28, 2018 · 1 comment

Comments

@adammoody
Copy link
Contributor

AXL currently creates directories for each destination file. However, there are several things that could be improved.

First, the destination directories may already exist, in which case it's wasteful workload to ask the file system to create them again. Directory creation should be optional. There should be a way to configure whether dirs are created via the API. For example, we could define a new AXL_Mkdir call to be explicit, or flags could be added to AXL_Create or AXL_Add.

Second, it's not clear what permissions/group should be assigned to the newly created directory. Another vote for AXL_Mkdir.

@adammoody
Copy link
Contributor Author

For example, Filo creates directories before it invokes AXL, so it would be helpful if Filo could disable the directory creation in AXL:
https://github.com/ECP-VeloC/filo/blob/f7ce43e1838b558b2db1a9c6441d7595524c682f/src/filo.c#L848

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

1 participant