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

[BUG] Cannot use setgid permissions with CreateFolder (e.g. permissions: 2750) #105

Open
jpSimkins opened this issue Dec 9, 2024 · 0 comments
Labels

Comments

@jpSimkins
Copy link

jpSimkins commented Dec 9, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
What do you want us to build?

When using setuid, setgid, or stickybit permisisons on a folder, you will get this error:

CreateFolder: [ ERROR ] Encountered permissions error given permission '2750' does not lie between 0 and 777

I have not tested with a file but I am willing to bet the same issue will apply.

The docs show the permissions default value as 0777 which leads one to believe 2750 would be supported. Either update the docs to show only 777 or allow the use of setuid, setgid, and stickybit.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I am trying to set setgid permissions for a folder in Linux.

Are you currently working around this issue?
How are you currently solving this problem?

I create the folder using CreateFolder then run ExecuteBash to set the proper permissions. I may stop using CreateFolder due to this limitation.

Additional context
Anything else we should know?

This should also be tested with files. I suspect this to be the same issue with them.

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

No branches or pull requests

1 participant