[lkml]   [2000]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: permissions not honoured by /bin/pwd aka getcwd
Harald Kirsch writes the following:
>The point is that on all other *nixes (as reported in the Tcl-newsgroup)
>the behaviour is different. getcwd does return `permission denied' if
>the x-flag of the current dir or any of its parents is not present.
>But maybe all other systems are not POSIX and Linux is or Linux knows
>better than POSIX?

You might get a better response if you can point to the POSIX requirement
that getcwd() behave specifically as you describe, or that the system is not
allowed to have additional syscalls that provide slightly more information
than is available through opendir/readdir/etc.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [W:0.078 / U:5.876 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site