Dsite42/minishell

Behavior issue while trying to redirect into an unwritable file

Closed this issue · 1 comments

jnspr commented

A non-bash error message is shown and the shell exits

Trace:

% ./minishell
minishell> touch a
minishell> chmod 0 a
minishell> echo hi > a
minishell: fd_write_append_outfile error: Permission denied
% 
jnspr commented

Fixed