From cb9ebf0e1541c0e49380cda6d4c2d619a0e9933f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 4 Nov 2025 08:00:37 +0900 Subject: hst/grp_pwd: specify new uid format This leaves slots available for additional uid ranges in Rosa OS. This breaks all existing installations! Users are required to fix ownership manually. Closes #18. Signed-off-by: Ophestra --- internal/store/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/store/store.go') diff --git a/internal/store/store.go b/internal/store/store.go index 7475c211..4fefd5c9 100644 --- a/internal/store/store.go +++ b/internal/store/store.go @@ -136,7 +136,7 @@ func (s *Store) Segments() (iter.Seq[SegmentIdentity], int, error) { si.Err = &hst.AppError{Step: step, Err: err, Msg: "skipped non-identity entry " + strconv.Quote(ent.Name())} goto out - } else if v < hst.IdentityMin || v > hst.IdentityMax { + } else if v < hst.IdentityStart || v > hst.IdentityEnd { si.Err = &hst.AppError{Step: step, Err: syscall.ERANGE, Msg: "skipped out of bounds entry " + strconv.Itoa(v)} goto out -- cgit v1.3.1