"os"
"path/filepath"
- "ruderich.org/simon/safcm/cmd/safcm-remote/sync"
"ruderich.org/simon/safcm/cmd/safcm/config"
+ "ruderich.org/simon/safcm/remote/sync"
)
func MainFixperms() error {
// chmodNoFollow works like os.Chmod but doesn't follow symlinks.
func chmodNoFollow(path string, mode fs.FileMode) error {
- x, err := sync.OpenFileNoFollow(path)
+ x, err := sync.OpenFileNoSymlinks(path)
if err != nil {
return err
}