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

fix: use sids when granting permissions with icacls #359

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

moorec-aws
Copy link
Contributor

What was the problem/requirement? (What/Why)

icacls will fail to set permissions on the config directory when using non-english operating systems.

What was the solution? (How)

Use the SID of Administrators and SYSTEM to set the permissions. with icacls.

What is the impact of this change?

Users using different OS languages can use the submitter.

How was this change tested?

Tested on a Windows OS with Spanish setup. Confirmed I was not able to submit a blender job to a farm. Once the change was implemented, job submission was successful.

Was this change documented?

No

Is this a breaking change?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: Charles Moore <moorec@amazon.com>
@moorec-aws moorec-aws marked this pull request as ready for review June 19, 2024 21:34
@moorec-aws moorec-aws requested a review from a team as a code owner June 19, 2024 21:34
@moorec-aws moorec-aws merged commit 133b059 into aws-deadline:mainline Jun 20, 2024
15 checks passed
@moorec-aws moorec-aws deleted the moorec/add-sid branch June 20, 2024 18:24
rena-cheng pushed a commit to rena-cheng/deadline-cloud that referenced this pull request Jun 26, 2024
Signed-off-by: Charles Moore <122481442+moorec-aws@users.noreply.github.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>
rena-cheng pushed a commit to rena-cheng/deadline-cloud that referenced this pull request Jun 26, 2024
Signed-off-by: Charles Moore <122481442+moorec-aws@users.noreply.github.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>
rena-cheng pushed a commit to rena-cheng/deadline-cloud that referenced this pull request Jun 26, 2024
…deadline#344)

* fix: bundles are stored in job_history in their original format

Signed-off-by: Stephen Crowe <crowest@amazon.com>

fix: use sids when granting permissions with icacls (aws-deadline#359)

Signed-off-by: Charles Moore <122481442+moorec-aws@users.noreply.github.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

chore: Add OS field support for integ test (aws-deadline#361)

Signed-off-by: Alex Tran <167144297+AlexTranAmz@users.noreply.github.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

fix: bundle gui-submit fails loading bundles with saved queue parameter values (aws-deadline#360)

Signed-off-by: Evan Spearman <evans@amazon.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

ci: update workflow job names for integ tests (aws-deadline#338)

Signed-off-by: Charles Moore <122481442+moorec-aws@users.noreply.github.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

Squish Automated Tests - Settings flow for Dev Submit GUI

Change env var to relative path

Squish Automated Tests - Dev Submit GUI Settings Flow

Squish Automated Tests - Dev Submit GUI settings flow

Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

ci: Add integ req to toml (aws-deadline#364)

Signed-off-by: Alex Tran <167144297+AlexTranAmz@users.noreply.github.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

Fixing linting errors

Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

feat: support JSON output in bundle GUI submitter (aws-deadline#357)

* feat: support JSON output in bundle GUI submitter

Signed-off-by: Stephen Crowe <crowest@amazon.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

fixing formatting/lint issues

Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

fixing linting issues

Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

fixing linting errors

Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

chore(release): 0.48.5 (aws-deadline#367)

Signed-off-by: client-software-ci <129794699+client-software-ci@users.noreply.github.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

chore(deps): update python-semantic-release requirement (aws-deadline#342)

Updates the requirements on [python-semantic-release](https://github.com/python-semantic-release/python-semantic-release) to permit the latest version.
- [Release notes](https://github.com/python-semantic-release/python-semantic-release/releases)
- [Changelog](https://github.com/python-semantic-release/python-semantic-release/blob/master/CHANGELOG.md)
- [Commits](python-semantic-release/python-semantic-release@v9.5.0...v9.8.1)

---
updated-dependencies:
- dependency-name: python-semantic-release
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

Disabling lint error checks due to Squish modules

Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

feat: Adding automated tests using Squish framework: Dev Submit GUI Settings flow

Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>

feat: Adding automated tests using Squish framework: Dev Submit GUI Settings flow

Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>
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.

3 participants