[cifs-protocol] POSIX pathnames and the '\' character.
jra at samba.org
Fri Mar 9 19:25:05 GMT 2007
Currently the Samba server parsing code
treats '\\' as a directory separator even
when posix pathnames is set to true.
This means currently that we're not 100%
POSIX as '\\' is valid in a POSIX pathname,
the only banned characters are '/' and '\0'.
How much of a problem is this ? And how
much effort (if any) should I put into
fixing this ?
This includes all currently released
servers up to 3.0.24 that support the
POSIX pathnames extension.
The issue becomes a problem with DFS
pathnames, which are defined are :
'\\' is mandatory as a separator in the
first 2 path components. Do we want to
enforce a DFS name as :
or as :
or can we live with '\\' always being
a directory separator ?
More information about the cifs-protocol