X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Fcvsutil;h=72c19d5624a4b358ed523bcd99e5124757c60d92;hp=18cdce15ddc6f2a18ea6d68f16caf14e1dc623bf;hb=257109ce5b17e8bf1e9990564d3eef7722746c0b;hpb=013b2312fb85ca2980a2b920d10998a54a63a1e6 diff --git a/bin/cvsutil b/bin/cvsutil index 18cdce1..72c19d5 100755 --- a/bin/cvsutil +++ b/bin/cvsutil @@ -222,7 +222,8 @@ sub localactionrm { my($filename)=@_; - chmod 0700,$filename or do { + # &chmod follows the symlinks. + -l $filename or chmod 0700,$filename or do { mayfatal "File \"$_\" cannot be chmod(2)ed" if !$!{ENOENT}; }; # '\1' for '-r':