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

STAGE-IN: permission not preserved #862

Open
AymenFJA opened this issue Dec 8, 2022 · 0 comments
Open

STAGE-IN: permission not preserved #862

AymenFJA opened this issue Dec 8, 2022 · 0 comments
Assignees

Comments

@AymenFJA
Copy link
Contributor

AymenFJA commented Dec 8, 2022

If I stage in a file from the client--> agent side that has the execute permission, the file loses the permission when it's moved.

Example:

td.input_staging  = [{'source': master_path,
                                  'target': 'raptor_master.py',
                                  'action': rp.TRANSFER,
                                  'flags' : rp.DEFAULT_FLAGS},
                                 {'source': worker_path,
                                  'target': 'raptor_worker.py',
                                  'action': rp.TRANSFER,
                                  'flags' : rp.DEFAULT_FLAGS},
                                 {'source': self.rpex_cfg,
                                  'target': os.path.basename(self.rpex_cfg),
                                  'action': rp.TRANSFER,
                                  'flags' : rp.DEFAULT_FLAGS}]

raptor_master.py is executable, but when moved to the agent side, it loses that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants