nikos sarantopoulos
2018-Oct-09 19:27 UTC
[Samba] how to use for example Domain Users of samba using chown chgrp
i am using chgrp and chown to change ownership from centos command line of paths for example domain users to use it in chgrp bur it is telling me the error that no such group exist. what i must do to be able to use samba users and groups from command line using chown and chgrp thank you
Rowland Penny
2018-Oct-09 19:39 UTC
[Samba] how to use for example Domain Users of samba using chown chgrp
On Tue, 9 Oct 2018 22:27:22 +0300 nikos sarantopoulos via samba <samba at lists.samba.org> wrote:> i am using chgrp and chown to change ownership from centos command > line of paths for example domain users to use it in chgrp bur it is > telling me the error that no such group exist. > > what i must do to be able to use samba users and groups from command > line using chown and chgrp > > thank youThe problem is the space between 'domain' and 'users', Linux thinks it is two separate entities, you need to escape the space with '\' or use quotes, single or double. Examples: chgrp 'Domain Users' chgrp "Domain Users" chgrp Domain\ Users It will probably also work if everything is in lowercase: chgrp domain\ users Rowland
Rowland Penny
2018-Oct-09 20:11 UTC
[Samba] how to use for example Domain Users of samba using chown chgrp
On Tue, 9 Oct 2018 22:54:22 +0300 nikos sarantopoulos <nsarantopoulos68 at gmail.com> wrote:> the domain does not exist i receive this message chgrp: invalid group: > `domain users' >What do you mean by 'the domain does not exist' ? Is the computer running Samba and is it a member of a Domain ? Rowland