Closed alimirjamali closed 2 months ago
Since both manpage and help state that these apply to files, the "expected behavior" is misplaced. If anything I favor the first option - error message - what about all those other possible targets that wont work?
what about all those other possible targets that wont work?
The patch I submitted exactly does that. Clear error message on targets that won't work (directories, symlink, ...). But we have to consider that this tool is also used to open URLs. So it had to be allowed in the conditions.
Since both manpage and help state that these apply to files, the "expected behavior" is misplaced.
In Linux, directories are files.
How to file a helpful issue
Qubes OS release
R4.2
Brief summary
According to a user on forum:
User tries to open a directory in a disposable and got confused, expecting it to be copied to Disposable and be opened in File Manager.
Steps to reproduce
qvm-open-in-dvm DIRECTORY
Expected behavior
Either show an error message if the target is not a regular file; or copy the entire directory to destination VM and open it in Thunar (or applicable File Manager)
Actual behavior
Confusion