In /etc/adduser.conf there's a line at the end that says: DIR_MODE=0755
Try changing this to 0700 (or whatever you want) and make a test user and see what happens.
OK, I set up a fileserver/printserver in my school LAN for my students to save/print their work. They typically login via ssh or an X client.
My problem is that when I intalled KNOPPIX as DEBIAN (20031119) on the hdd I added users with adduser. However, every one can see everyone else's home dirs and read the contents of their files. Is there a way to prevent this when I create a user? I mean all files created by my students are rw-r--r-- (ie: chmod 644) and their executables are rwxr-xr-x (ie: chmod 755). Can I make everyone their own group so they can read only their own files or have the files saved rw------- or rwx------?
TIA,
AJG
In /etc/adduser.conf there's a line at the end that says: DIR_MODE=0755
Try changing this to 0700 (or whatever you want) and make a test user and see what happens.

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W
$285.97
Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700
$289.99
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores | 32gb | HBA330 | 2x 1...
$324.99