Lines 35-40
cleanup_tmp_dir()
Link Here
|
35 |
# Faster than find |
35 |
# Faster than find |
36 |
rm -rf -- [^ajlq\.]* |
36 |
rm -rf -- [^ajlq\.]* |
37 |
|
37 |
|
|
|
38 |
# pam_mktemp creates a .private directory within which |
39 |
# each user gets a private directory with immutable |
40 |
# bit set; remove the immutable bit before trying to |
41 |
# remove it. |
42 |
[ -d /tmp/.private ] && chattr -R -a /tmp/.private |
43 |
|
38 |
find $startopts ! -name . \ |
44 |
find $startopts ! -name . \ |
39 |
! -path "./lost+found" \ |
45 |
! -path "./lost+found" \ |
40 |
! -path "./lost+found/*" \ |
46 |
! -path "./lost+found/*" \ |
Lines 48-55
cleanup_tmp_dir()
Link Here
|
48 |
! -path "./aquota.group/*" \ |
54 |
! -path "./aquota.group/*" \ |
49 |
! -path "./journal" \ |
55 |
! -path "./journal" \ |
50 |
! -path "./journal/*" \ |
56 |
! -path "./journal/*" \ |
51 |
! -path "./.private" \ |
|
|
52 |
! -path "./.private/*" \ |
53 |
-exec rm -rf {} \; |
57 |
-exec rm -rf {} \; |
54 |
eend 0 |
58 |
eend 0 |
55 |
else |
59 |
else |
56 |
- |
|
|