On 2024-01-22 09:03, -pj via openSUSE Users wrote:
Hello there, What I ended up doing (perhaps to soon) was the following:
chgrp paul -R /home/paul
-------------------------------------------------------------------------------------------------------
paul@paul-Thinkcentre-M57p:/home> pwd /home -----------------------------------------------------------------------------------------------------
paul@paul-Thinkcentre-M57p:/home> ls -lah total 0 dr-xr-xr-x 1 root root 14 Jan 21 18:18 .drwxr-xr-x 1 root root 142 Jun 3 2021 ..drwx------ 1 deb deb 318 Jan 22 00:02 debdrwx------ 1 paul paul 878 Jan 22 00:47 paulpaul@paul-Thinkcentre-M57p:/home> cd paul paul@paul-Thinkcentre-M57p:~> ls -lah total 108K drwx------ 1 paul paul 878 Jan 22 00:47 .dr-xr-xr-x 1 root root 14 Jan 21 18:18 ..-rw------- 1 paul paul 0 Jan 10 22:04 1-10-24-test-0.txt -rw------- 1 paul paul 0 Jan 10 22:06 1-10-24-test-1.txt -rw------- 1 paul paul
Wrapping is destroyed when replying. I think "chgrp paul -R /home/paul" was correct. What problem did you see?
------------------------------------------------------------------------------------------------- paul@paul-Thinkcentre-M57p:~>
Thinkcentre-M57p:~> groups paul paul : paul audio cdrom
------------------------------------------------------------ Thinkcentre-M57p:~> id -a uid=1000(paul) gid=100 groups=100,488(cdrom)
cat /etc/passwd paul:x:1000:1000:Paul:/home/paul:/bin/bash ------------------------------------------------------------------------------------------------------------
I passed as superuser: chmod -R go-rwx at /home/paul then chmod -R go-rwx inside /home/paul after changing groups.
Why, what's the intention? When I have done something like that, there is a way to differentiate directories from files. Files do not need 'x', directories do.
Was this a mistake to have done this, following the chgrp -R paul /home/paul ? I can significantly attempt to affirm that user paul was the first user to be added during installation of the openSUSE Tumbleweed on the machine (install was maybe 2 years ago on this particular machine). I honestly do not know why each user after the supposed first user added to the OS *has* to become a member of the users group.
That's *SUSE policy for decades, yes. I have never bothered much to find out a way to change the policy locally.
I noticed all of this while doing some minor work in user account deb. I noticed that I was able to cd into /home/paul and subdirectories without any problem (from user deb).
🤐thanks
-- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))