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

Implemented lfs.chown and lfs.chmod functions #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lch361
Copy link

@lch361 lch361 commented May 30, 2023

As this library has a function to get file permissions, uid and gid, I think it is a good idea to have a way to set these as well.

@hishamhm
Copy link
Member

Thanks for the PR, but this is intended primarily as a portable library. It does leak some Unix-specific info, but at least it does have a minimal implementation of lfs.attributes for Windows. I'm wary about adding new Unix-only functions to the library since that would start a slippery slope which could easily lead it to becoming another implementation of luaposix, which already exists.

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

Successfully merging this pull request may close these issues.

2 participants