Skip to content
  • nagachika's avatar
    799c5766
    merge revision(s) a19228f8: [Backport #16979] · 799c5766
    nagachika authored
    	brace the fact that lchmod(2) can EOPNOTSUPP
    
    	Musl libc has this function as a tiny wrapper of fchmodat(3posix).  On
    	the other hand Linux kernel does not support changing modes of a symlink.
    	The operation always fails with EOPNOTSUPP.  This fchmodat behaviour is
    	defined in POSIX.  We have to take care of such exceptions.
    799c5766
    merge revision(s) a19228f8: [Backport #16979]
    nagachika authored
    	brace the fact that lchmod(2) can EOPNOTSUPP
    
    	Musl libc has this function as a tiny wrapper of fchmodat(3posix).  On
    	the other hand Linux kernel does not support changing modes of a symlink.
    	The operation always fails with EOPNOTSUPP.  This fchmodat behaviour is
    	defined in POSIX.  We have to take care of such exceptions.
Loading