ssh client: chdir("/")

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Dear ssh developers,
I seem to have experienced sometimes the case where an ssh client was
preventing me from unmounting a partition.

Then I have checked that ssh processes do not alter their working directory
indeed, not even if executed with "-f".

Do you believe it makes sense to chdir("/") just before entering the main
loop (after reading files that were possibly specified with  a relative
name)? Is the current directory at the client side used for anything else?

Maybe before "exit_status = compat20 ? ssh_session2() : ssh_session();".

Thanks,

Raúl Salinas
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux