Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 7061B222F4A for <~alpine/users@lists.alpinelinux.org>; Sat, 2 Aug 2025 20:23:06 +0000 (UTC) Received: by mail-qv1-xf33.google.com with SMTP id 6a1803df08f44-707365f4d47so35985976d6.1 for <~alpine/users@lists.alpinelinux.org>; Sat, 02 Aug 2025 13:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1754166185; x=1754770985; darn=lists.alpinelinux.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pg7BzKTQ3nVrW7vsMTEeQcNvMIBDATAlZwmibhJTLHg=; b=GJXzd0xVw3QtiCcdfDiavNLTJJDA1i2M0QYLDLnO83fqAcZ9lkMefpdkQ9CCULB56x PakotkO/1Vwt8I9VjufgsrmqS1U08aS6pG0w5+2Y60Z8jmoOoGsiQ3iLv3xiKhp/bvv+ dKQJ/JdAYenJCWRI3omLY39VMULlWcDbmb5kco0LrEcC8S0lAkpCv1QFN88hue7GzVWO PQpAQsxXL7c5hhZikCkEpyltX8YNIqyiMuQt3Hebj4cVLtkq0cja2buktAO4mgHahMNx xOZX0haOXUf066Ve36ekF21OvacfVVk7b1J5zhvMBGsv1O2XLs+xmX6kGWgG0uPozd3B H6dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754166185; x=1754770985; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pg7BzKTQ3nVrW7vsMTEeQcNvMIBDATAlZwmibhJTLHg=; b=QWwS5dvD5o8+kaYU2MSjEPYzjvwMNdTPciHR5Ut1/MFOGL95LwpdrKgUviFKNqvdpH cBahCpj+uf5XYrTJnWVKf6QZoOcM6EDeYn/oA8++7kEGtwxQBqpcO6z6gSNLjLIrMBmv C5r03vX4p7tzFzFlfyrLVW3SMaxmlYGItQt7LXHcvGBDAUepLcRSER2VfsKD90IW212X bz9cDMu+5wUvzmKXSdK7Q9IT4aMjnc/mAYw4KyuB3BOwuLIeLXM+2um18qdtgb11Oj4j ZOHq1BIE23UtoVkkUSMK6AO1A1n8Fgt4fjQCzFUgy7bOtFEcJ0vr2cdZ8QEktPaDDk7t iakw== X-Gm-Message-State: AOJu0YwxQ1V0ATzfkXbF9FDypjvUn8j3enRzlWmkAd7logGURDhQURk+ +tGWol3sU2tA6RwASacR+6dzzrViLUBtoA9Sl+ceb/IC9tdyncofeWlQwUNTyE+FDxeJFjY/mTT N9Y52YRvGVEOGClfliq3s1JjG8+ASjlY= X-Gm-Gg: ASbGncvC9OC9wbUD0y1dsA9JvbC57CLPBkl01KSRSYBs8clU6pW67yEsrBs5WyBj97K gUuco2w+jJmAdvSbXFUmS/1jwGTAm4gIywTliwH6nYUqqgM/z8w/HFkgUUtm/w6YPO1U2xGIVSP uwd2MaS2hzzUIdVf5PDGerbo2d9qUy5Fobzhs5MaMmS7s9fOCtnFaJ0/Vb3E1l5p4CbI3T12KU7 BvYZg== X-Google-Smtp-Source: AGHT+IHnpUkVzAhYaz+KxJ1NYAycsMgTEGKvXO++eZ8EtGNeeAlZKRp+t/x8LxhnvgNxxiRTtRv3r7WoUDvfRNcD15g= X-Received: by 2002:a05:6214:dab:b0:702:c038:af78 with SMTP id 6a1803df08f44-70935ec64b5mr64573626d6.5.1754166184864; Sat, 02 Aug 2025 13:23:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rolf Date: Sat, 2 Aug 2025 22:22:51 +0200 X-Gm-Features: Ac12FXz_doFcrlKxxcgOEdtEu7ozetgUb9zCk8cUYThBZJaFQEHeQzEOqJWg6Fg Message-ID: Subject: Re: `setup-user` Does Not Create a Home Directory After Install To: jms.md@posteo.com Cc: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Dear jms Perhaps you could try changing the order of the steps you did? The docs recommend installing the system first, and then, as a second step, creating "a normal, non-root user": https://docs.alpinelinux.org/user-handbook/0.1a/Working/post-install.html Best regards Rolf Am Sa., 2. Aug. 2025 um 20:40 Uhr schrieb : > > When using `setup-user` interactively or via flags, then install the > system onto a disk using `setup-disk`, the user's home directory is not > created when booting into the disk. > > If you try to login as the user, you will be given the error message > `login: can't change directory to '/home/alice': No such file or > directory`. When using `ls /home`, nothing will be there. I've had > issues when using `adduser` instead too, even with `-h`. It does seem to > create a home directory when you use `setup-alpine` however. > > Is this some kind of bug? Is there something in the docs I overlooked?