You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I call OverthereConnection.getFile(parent, child) with a parent that is a temporary directory,
I get a non-temporary file.
(which is very problematic when using a sudo connection)
Don't you think, it would be preferable to constrain the parent to be a non-temporary one when calling this method ?
The text was updated successfully, but these errors were encountered:
Actually you make a good point. The file returned should be a temporary file if the parent is also a temporary file. It should exhibit the same behaviour as OverthereFile.getFile(String child). Which for a SshSudoFile inherits the 'temporaryness' from the parent.
The "temporariness" was only used in the SshSudoConnection, so I pushed it down there. None of the other Ssh connection types actually differentiated between a regular file and a temporary one.
If I call OverthereConnection.getFile(parent, child) with a parent that is a temporary directory,
I get a non-temporary file.
(which is very problematic when using a sudo connection)
Don't you think, it would be preferable to constrain the parent to be a non-temporary one when calling this method ?
The text was updated successfully, but these errors were encountered: