mailing list of musl libc
 help / color / mirror / code / Atom feed
* lchmod on Linux
@ 2015-08-26 19:12 Tomasz Sterna
  2015-08-26 19:49 ` Rich Felker
  0 siblings, 1 reply; 5+ messages in thread
From: Tomasz Sterna @ 2015-08-26 19:12 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

I think there is an issue with musl providing lchmod() implementation
on Linux.

It simply proxies to fchmodat(), but as you cannot change mod for
symlink on Linux it fails.

This gives trouble to libarchive's bsdtar implementation that detects
that platform provides lchmod, tries to use it while extracting
archives containing symlinks and fails... ;-(

For now I am just patching libarchive config.h to not use lchmod, but I
would rather see musl do the right thing. :-)


-- 
 /o__ Our missions are peaceful -- not for conquest. When we do battle, it
(_<^' is only because we have no choice.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-27  1:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-26 19:12 lchmod on Linux Tomasz Sterna
2015-08-26 19:49 ` Rich Felker
2015-08-26 21:09   ` Tomasz Sterna
2015-08-26 22:02     ` Laurent Bercot
2015-08-27  1:39       ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).