]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
fixperms: don't follow symlinks
authorSimon Ruderich <simon@ruderich.org>
Sun, 4 Apr 2021 06:25:57 +0000 (08:25 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 4 Apr 2021 06:25:57 +0000 (08:25 +0200)
commitb3947ca010d5e49ae519722393dd4d2d2a3c19f7
tree491549be58f20d070af215d0f48eeffa5d033e13
parent023e863fbd9c6cf5bebd18e19c05ae9e60fbbe21
fixperms: don't follow symlinks

This prevents a possible TOCTOU when chmodding files.
cmd/safcm/fixperms.go