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

Fails on /usr/bin #19

Open
nickfierro opened this issue Aug 28, 2018 · 2 comments
Open

Fails on /usr/bin #19

nickfierro opened this issue Aug 28, 2018 · 2 comments

Comments

@nickfierro
Copy link


      ID: hardening-read-only-folders
Function: file.directory
    Name: /usr/bin
  Result: False
 Comment: An exception occurred in this state: Traceback (most recent call last):
            File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1905, in call
              **cdata['kwargs'])
            File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1830, in wrapper
              return f(*args, **kwargs)
            File "/usr/lib/python2.7/dist-packages/salt/states/file.py", line 3104, in directory
              full, ret, user, group, file_mode, None, follow_symlinks)
            File "/usr/lib/python2.7/dist-packages/salt/modules/file.py", line 4460, in check_perms
              lattrs = lsattr(name)
            File "/usr/lib/python2.7/dist-packages/salt/modules/file.py", line 564, in lsattr
              raise SaltInvocationError("File or directory does not exist.")
          SaltInvocationError: File or directory does not exist.
 Started: 21:14:22.248613
Duration: 2840.078 ms
 Changes:   
@abednarik
Copy link
Contributor

Hi

Same issue here. In Ubuntu is because of this broken symlink

ls -l /usr/bin/vmware-user
lrwxrwxrwx 1 root root 24 May  8 16:51 /usr/bin/vmware-user -> vmware-user-suid-wrapper

@nickfierro
Copy link
Author

nickfierro commented Oct 18, 2018

screen shot 2018-10-18 at 2 34 59 pm

It also appears to be a broken symlink on mine as well. It looks like vmware-user-suid-wrapper does not get installed or linked.

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