fixed p9 fileshare
move to posix where possible