Detect old home dir #39
No reviewers
Labels
No labels
bug
bullseye
discussion
duplicate
enhancement
help wanted
invalid
question
suggestion
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
#25 Detect old home dir
evolix/evocheck
Reference: evolix/evocheck#39
Loading…
Reference in a new issue
No description provided.
Delete branch "25-Detect-old-home-dir"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a check to detect when old home dir need to be moved to .bak or deleted.
@vlaborie Could you review it? Any thoughts?
#25 Detect old home dirto Detect old home dir@ -838,0 +839,4 @@
if [ "$IS_OLD_HOME_DIR" = 1 ]; then
for dir in /home/*; do
stat -c "%n has owner %u resolved as %U" "$dir" | grep -v .bak | grep -q UNKNOWN
The last
grep -q
can be removed for verbose output. We need to implement #30 first.LGTM, i think #30 can be done later.