1
0
mirror of https://github.com/rclone/rclone.git synced 2025-10-06 05:47:10 +02:00
Files
rclone/backend/local/lchmod.go
Nick Craig-Wood d67aa9cc7b build: make rclone compile with GOOS=wasip1 GOARCH=wasm #7831
This now compiles but the link doesn't work because of

https://github.com/golang/go/issues/64856
2025-07-09 10:53:03 +01:00

17 lines
446 B
Go

//go:build windows || plan9 || js || linux || wasm
package local
import "os"
const haveLChmod = false
// lChmod changes the mode of the named file to mode. If the file is a symbolic
// link, it changes the link, not the target. If there is an error,
// it will be of type *PathError.
func lChmod(name string, mode os.FileMode) error {
// Can't do this safely on this OS - chmoding a symlink always
// changes the destination.
return nil
}