You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description group.adduser fails to add certain built-in Windows groups, namely Everyone and CREATOR OWNER.
Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Tried on fresh installs of Windows 8.1 Pro and Windows 10 Pro in Virtualbox VMs and on physical machines.
on-prem machine
VM (Virtualbox, KVM, etc. please specify)
VM running on a cloud service, please be explicit and add details
container (Kubernetes, Docker, containerd, etc. please specify)
or a combination, please be explicit
jails if it is FreeBSD
classic packaging
onedir packaging
used bootstrap to install
Steps to Reproduce the behavior
PS C:\Users\vagrant> salt-call group.adduser "Remote Desktop Users" Everyone
C:\Program Files\Salt Project\Salt\bin\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools i
acing distutils.
warnings.warn("Setuptools is replacing distutils.")
[ERROR ] Failed to add \Everyone to group Remote Desktop Users. An invalid directory pathname was passed
local:
False
or
PS C:\Users\vagrant> salt-call group.adduser "Remote Desktop Users" "\Everyone"
C:\Program Files\Salt Project\Salt\bin\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools i
acing distutils.
warnings.warn("Setuptools is replacing distutils.")
[ERROR ] Failed to add \Everyone to group Remote Desktop Users. An invalid directory pathname was passed
local:
False
Expected behavior
I would expect the built-in group to be added to the group, as happens using the GUI e.g. lusrmgr.msc
The following is the result after manually adding Everyone to Remote Desktop Users
Description
group.adduser
fails to add certain built-in Windows groups, namelyEveryone
andCREATOR OWNER
.Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Tried on fresh installs of Windows 8.1 Pro and Windows 10 Pro in Virtualbox VMs and on physical machines.
Steps to Reproduce the behavior
or
Expected behavior
I would expect the built-in group to be added to the group, as happens using the GUI e.g.
lusrmgr.msc
The following is the result after manually adding
Everyone
toRemote Desktop Users
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
The text was updated successfully, but these errors were encountered: