We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have some test to verify the user of a symlink. I am using a symlink to point a folder like this :
lrwxrwxrwx 1 myuser group 13 May 22 10:40 /tmp/test -> /etc/systemd/
and /etc/systemd/ is in root root
/etc/systemd/
When I do host.file("/tmp/test/").user I obtain "root"
host.file("/tmp/test/").user
and when I do host.file("/tmp/test").user I expect to get "myuser" but instead I get "root"
host.file("/tmp/test").user
The function was working fine before 10.1.0.
Will it stay like that from now or is it an issue that need to be fixed ?
For now, I will go around this issue by using host.file("/tmp/test").check_output("stat -c %%U %s", my_link_path)
host.file("/tmp/test").check_output("stat -c %%U %s", my_link_path)
thank you
The text was updated successfully, but these errors were encountered:
Uncomment a test that now succeeds
93583d0
Note that the test code required a little tweaking before it could succeed due to pytest-dev/pytest-testinfra#766.
726d0a4
This change would probably be caused by d2bcd9f.
Sorry, something went wrong.
No branches or pull requests
I have some test to verify the user of a symlink. I am using a symlink to point a folder like this :
lrwxrwxrwx 1 myuser group 13 May 22 10:40 /tmp/test -> /etc/systemd/
and
/etc/systemd/
is in root rootWhen I do
host.file("/tmp/test/").user
I obtain "root"and when I do
host.file("/tmp/test").user
I expect to get "myuser" but instead I get "root"The function was working fine before 10.1.0.
Will it stay like that from now or is it an issue that need to be fixed ?
For now, I will go around this issue by using
host.file("/tmp/test").check_output("stat -c %%U %s", my_link_path)
thank you
The text was updated successfully, but these errors were encountered: