Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot remove connection temporary directory when working directory is set inside that directory #40

Closed
vpartington opened this issue Mar 20, 2012 · 2 comments

Comments

@vpartington
Copy link
Contributor

On some platforms (e.g. AIX, Windows), a directory cannot be removed if another process has its current working directory inside that process. This causes the connection temporary directory to be removed properly when the current working directory is set to be inside of that directory.

vpartington pushed a commit that referenced this issue Mar 20, 2012
…table invokes chmod a+x instead of chmod +x, current working directory not set using "cd" when invoking commands for SshScpFile.

- Improved logging of SshScpFile.getInputStream() and SshScpFile.getOutputStream().
- Improved logging of handling of "sudo" and "cd" and the corresponding pseudocommands "nosudo" and "nocd".
@vpartington
Copy link
Contributor Author

Fixed in Overthere 1.0.17.

vpartington pushed a commit that referenced this issue Mar 20, 2012
…table invokes chmod a+x instead of chmod +x, current working directory not set using "cd" when invoking commands for SshScpFile.

- Improved logging of SshScpFile.getInputStream() and SshScpFile.getOutputStream().
- Improved logging of handling of "sudo" and "cd" and the corresponding pseudocommands "nosudo" and "nocd".

Conflicts (imports only):

	overthere/src/main/java/com/xebialabs/overthere/ssh/SshSudoConnection.java
@hierynomus
Copy link
Contributor

Commit is on master, to be included in 2.0.0

vpartington pushed a commit that referenced this issue Aug 2, 2012
…table invokes chmod a+x instead of chmod +x, current working directory not set using "cd" when invoking commands for SshScpFile.

- Improved logging of SshScpFile.getInputStream() and SshScpFile.getOutputStream().
- Improved logging of handling of "sudo" and "cd" and the corresponding pseudocommands "nosudo" and "nocd".

Conflicts (imports only):

	overthere/src/main/java/com/xebialabs/overthere/ssh/SshSudoConnection.java
vpartington pushed a commit that referenced this issue Aug 2, 2012
…table invokes chmod a+x instead of chmod +x, current working directory not set using "cd" when invoking commands for SshScpFile.

- Improved logging of SshScpFile.getInputStream() and SshScpFile.getOutputStream().
- Improved logging of handling of "sudo" and "cd" and the corresponding pseudocommands "nosudo" and "nocd".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants