Modify ↓
Ticket #4561 (closed defect: worksforme)
When creating user: chown fails because group '_USERS_' does not exists
| Reported by: | 0dmin.unix@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | users |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by jamor@…) (diff)
Аfter creating users via a web interface and adding it to the group, appearing this error.
Error
root command set -e mkdir -p `dirname /home/markusha` cp -dR --preserve=mode /etc/skel /home/markusha chown -R markusha:__USERS__ /home/markusha chmod 0700 /home/markusha failed. Error output: chown: invalid user: `markusha:__USERS__' Command output: . Exit value: 1
Trace
root command set -e
mkdir -p `dirname /home/markusha`
cp -dR --preserve=mode /etc/skel /home/markusha
chown -R markusha:__USERS__ /home/markusha
chmod 0700 /home/markusha failed.
Error output: chown: invalid user: `markusha:__USERS__'
Command output: .
Exit value: 1 at /usr/share/perl5/Error.pm line 182
Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', 'set -e\x{a}mkdir -p `dirname /home/markusha`\x{a}cp -dR --preserve=mo...', 'output', 'ARRAY(0xbdcf8d40)', 'error', 'ARRAY(0xbdacfd70)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 213
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/6fnGziGVlb.cmd 2>...', 'set -e\x{a}mkdir -p `dirname /home/markusha`\x{a}cp -dR --preserve=mo...', 256, 'ARRAY(0xbdcf8d40)', 'ARRAY(0xbdacfd70)') called at /usr/share/perl5/EBox/Sudo.pm line 182
EBox::Sudo::_root(1, 'mkdir -p `dirname /home/markusha`', 'cp -dR --preserve=mode /etc/skel /home/markusha', 'chown -R markusha:__USERS__ /home/markusha', 'chmod 0700 /home/markusha') called at /usr/share/perl5/EBox/Sudo.pm line 136
EBox::Sudo::root('mkdir -p `dirname /home/markusha`', 'cp -dR --preserve=mode /etc/skel /home/markusha', 'chown -R markusha:__USERS__ /home/markusha', 'chmod 0700 /home/markusha') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 873
EBox::UsersAndGroups::initUser('EBox::UsersAndGroups=HASH(0xbb859c20)', 'markusha', 'QWEasd123') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 1096
EBox::UsersAndGroups::addUser('EBox::UsersAndGroups=HASH(0xbb859c20)', 'HASH(0xbdade040)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/AddUser.pm line 77
EBox::CGI::UsersAndGroups::AddUser::_process('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbdaa67a8)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbdaa67a8)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/AddUser', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xbdcf3e08)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xbdce9bb8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xbdce9bb8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xbdcf3e08)') called at -e line 0
eval {...} called at -e line 0
Attachments
Change History
Changed 11 months ago by anonymous
-
attachment
zentyal.log
added
comment:1 Changed 11 months ago by jamor@…
- Component changed from base to users
- Description modified (diff)
- Summary changed from Bug report from Zentyal Server to When creating user: chown fails because group '_USERS_' does not exists
Hello 0dmin.unix,
I have seen more report of this error but I was always unable to reproduce on my systems. It would be possible to let me to access your system?.
If it is possible I will need a account with sudo privileges. Email me the details to jamor at zentyal.com
Regards,
Javier
Note: See
TracTickets for help on using
tickets.
zentyal.log