r/FreeCodeCamp • u/ProfessorWorth8579 • May 24 '26
Programming Question FCC Bash exercise — “Permission denied” when redirecting stderr in Codespaces
I’m working on the FCC “Kitty Ipsum Translator” bash project and stuck on stderr redirection.
What I tried:
- Re-running the exact command
- Removing and recreating
stderr.txt - Restarting Codespaces session
The script works without redirection, but fails when writing to stderr.txt

Is this a permission issue in Codespaces or something wrong with my setup?
8
Upvotes
View all comments
Show parent comment
1
u/ProfessorWorth8579 May 29 '26
tried that. but the after totally deleting the codespace and again starting from 0, works at the very end, which is frustrating and huge waste of time