(Stuff from old "Can't kill process" thread)

I wrote:

On ENU-1, my Ubuntu 18 machine, when I run groups, I see that my user,
dick, has a group:

dick@ENU-1:~$ groups
dick adm cdrom sudo dip plugdev lpadmin sambashare vboxusers
dick@ENU-1:~$

Somehow I don't have one on ENU-2, the Slackware machine, for rsteff.

Ed replied:

if you created user 'rsteff' via the "adduser" command, the groups
assigned (if you choose the full default) to that user will be:

users lp floppy audio video cdrom games plugdev power netdev scanner

group 'rsteff' is not created. You can do so and then use that group to
hide $HOME from other users that may log in.

On ENU-2, the Slackware machine, I have the following:

rsteff@ENU-2:~$ groups
users lp floppy audio video cdrom plugdev power netdev scanner
rsteff@ENU-2:~$

When I try to change ownership on a file I've always used

root@ENU-2:/home/rsteff/Desktop# chown rsteff:rsteff hardware.html
chown: invalid group: 'rsteff:rsteff'
root@ENU-2:/home/rsteff/Desktop#

That's what I've always done before. Since it was what I was used to I didn't think to look a ls -l. I finally thought to do that this morning and I find:

rsteff@ENU-2:~$ ls -l
total 32
drwxr-xr-x  2 rsteff users 4096 Jan  4 14:14 Desktop/
...

Is that something that's different between Slackware and Ubuntu? Should I always expect ownership of files rsteff creates to be rsteff:users?


--
Regards,

Dick Steffens


_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to