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

mock uid and gid not working as expected #86

Open
arch-mage opened this issue Feb 15, 2016 · 1 comment
Open

mock uid and gid not working as expected #86

arch-mage opened this issue Feb 15, 2016 · 1 comment

Comments

@arch-mage
Copy link

I'm writing a test suite to test my script that modify some directory. My test expecting failure if executed
without permission. Here, it mocks a directory to be owned by root. But, my script (which it task is move the directory) can still move that directory.

@stelcheck
Copy link

I am having a similar issue with file permissions. I can also delete a file with permissions set to 0444.

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

2 participants