Skip to content

Conversation

@vinay02022
Copy link

Summary

  • Improved writeContentToFile error message to include allowed paths when file access is blocked
  • Aligns behavior with createReadStream which already shows allowed paths in its error message
  • Helps users understand why file access is blocked and how to configure N8N_RESTRICT_FILE_ACCESS_TO

Related Linear tickets, currentMilestone issues, or community forum posts

#23934

Review / Merge checklist

  • PR title and target branch are correct
  • Tests verify the change works as intended
  • Docs updated if needed

Before: The file "/files/output.txt" is not writable.

After: The file "/files/output.txt" is not writable. Allowed paths: /home/user/.n8n-files

   matching the behavior of createReadStream. This helps users understand
   why file access is blocked and how to configure N8N_RESTRICT_FILE_ACCESS_TO.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@n8n-assistant n8n-assistant bot added community Authored by a community member core Enhancement outside /nodes-base and /editor-ui labels Jan 7, 2026
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@n8n-assistant n8n-assistant bot added the in linear Issue or PR has been created in Linear for internal review label Jan 7, 2026
@n8n-assistant
Copy link
Contributor

n8n-assistant bot commented Jan 7, 2026

Hey @vinay02022,

Thank you for your contribution. We appreciate the time and effort you’ve taken to submit this pull request.

Before we can proceed, please ensure the following:
• Tests are included for any new functionality, logic changes or bug fixes.
• The PR aligns with our contribution guidelines.

Regarding new nodes:
We no longer accept new nodes directly into the core codebase. Instead, we encourage contributors to follow our Community Node Submission Guide to publish nodes independently.

If your node integrates with an AI service that you own or represent, please email [email protected] and we will be happy to discuss the best approach.

About review timelines:
This PR has been added to our internal tracker as "GHC-6194". While we plan to review it, we are currently unable to provide an exact timeframe. Our goal is to begin reviews within a month, but this may change depending on team priorities. We will reach out when the review begins.

Thank you again for contributing to n8n.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Authored by a community member core Enhancement outside /nodes-base and /editor-ui in linear Issue or PR has been created in Linear for internal review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants