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
Possibly Parallel Threads
- how to use chgrp command for samba groups
- access denied from windows changing security setting when i use a folder connected to a fake drive made with dd
- why i am getting the error message cli_full_connection failed! (NT_STATUS_LOGON_FAILURE) on smbcquotas when i am try to use smbcquotas
- error message during attempting to join the domain of the samba server
- chown and chgrp on 4.5 vs 5.0