git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git 1.3.2 on Solaris

From
Linus Torvalds <torvalds@osdl.org>
Date
May 23, 2006, 14:53 UTC
Message-ID
<Pine.LNX.4.64.0605230744350.5623@g5.osdl.org>
In-Reply-To
<8157.1148359875@lotus.CS.Berkeley.EDU>
On Mon, 22 May 2006, Jason Riedy wrote:
Show 7 quoted lines
> And "Stefan Pfetzing" writes:
>  -   printf ("access: %d\n", access("/etc/motd", X_OK));
> [...]
>  - will return 0 on solaris - when run as root, even though /etc/motd
>  - is not executeable.
> 
> This is explicitly allowed by the SUS, even for non-root:
What kind of CRAP has Solaris become?

Yes, it's allowed. That doesn't mean that a quality implementation should do it.

SunOS used to be the best system around - it was, compared to others, _nice_ to work with. It wasn't about what was "allowed by the standards", that was the HP-SUX and AIX's excuses. It was the highest-quality implementation.

Now, Solaris had some serious problems early on (yes, I was there when they switched, and yes, I hated it), but I thought they had fixed their stuff long long ago.

Have Sun people forgotten the difference between "quality" and "crap that passes standards tests"?

Not doing a reasonable job on "access()" is a joke. It's like VMS being "posix". Sure, it's the letter of the law, but it's still not _unix_.

Btw, even SuS says:
    "The sentence concerning appropriate privileges and execute permission 
     bits reflects the two possibilities implemented by historical 
     implementations when checking superuser access for X_OK.
     New implementations are discouraged from returning X_OK unless at 
     least one execution permission bit is set."
which clearly says "Solaris is CRAP" to me.

What the heck is going on? First the totally broken stdio that doesn't retry on EINTR, now access(). And these people think they can compete?

Somebody hit some Solaris engineers with a 2x4 clue-stick, please.
		Linus
Previous: Stefan PfetzingNext: Edgar Toernig
Message 14 of 36 in “Git 1.3.2 on Solaris”
  1. Stefan PfetzingMay 16, 2006
  2. Jason RiedyMay 17, 2006
  3. Linus TorvaldsMay 17, 2006
  4. Jason RiedyMay 17, 2006
  5. Linus TorvaldsMay 17, 2006
  6. Stefan PfetzingMay 17, 2006
  7. Linus TorvaldsMay 17, 2006
  8. Stefan PfetzingMay 17, 2006
  9. Linus TorvaldsMay 17, 2006
  10. Jason RiedyMay 17, 2006
  11. Stefan PfetzingMay 23, 2006
  12. Jason RiedyMay 23, 2006
  13. Stefan PfetzingMay 23, 2006
  14. Linus TorvaldsMay 23, 2006
  15. Edgar ToernigMay 23, 2006
  16. Linus TorvaldsMay 23, 2006
  17. Edgar ToernigMay 23, 2006
  18. Jason RiedyMay 23, 2006
  19. Linus TorvaldsMay 23, 2006
  20. Linus TorvaldsMay 23, 2006
  21. Stefan PfetzingMay 26, 2006
  22. Ryan AndersonMay 17, 2006
  23. Junio C HamanoMay 17, 2006
  24. Junio C HamanoMay 17, 2006
  25. builtin-grep: workaround for non GNU grep.Junio C Hamano, May 17, 2006
  26. Linus TorvaldsMay 17, 2006
  27. Junio C HamanoMay 17, 2006
  28. Bertrand JacquinMay 17, 2006
  29. Junio C HamanoMay 17, 2006
  30. Linus TorvaldsMay 17, 2006
  31. Junio C HamanoMay 17, 2006
  32. Linus TorvaldsMay 17, 2006
  33. Junio C HamanoMay 17, 2006
  34. Stefan PfetzingMay 17, 2006
  35. Junio C HamanoMay 17, 2006
  36. Stefan PfetzingMay 17, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.