Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Atom can no longer open readonly files #5107

Closed

Description

@ecbrodie

I have been using Atom on a project where files are managed by a Perforce depot. That means that all files are marked as readonly until they are checked out by Perforce. On my Mac machine, this means that only the read flag is set in the file permissions.

Up until today, I was able to open these readonly files in Atom to view its contents, just like any normal file. I could even save to the readonly files, with Atom giving me an extra prompt to let me know that I'm overwriting a readonly file.

But as of today, that has completely changed. When I attempt to open up the readonly file, instead of the file opening in the Atom editor, I instead get the following error message on the top right corner: "Permission denied '/my/path/to/file'". Perhaps there was some sort of Atom update released today or this week that changed its functionality. I would say that it is quite desirable to be able to open up readonly files, at least for just reading if not writing. All other major text editors, especially Sublime, support viewing readonly files.

Note that I could probably use sudo atom to get superuser access and be able to read/write files that are readonly, but needlessly relying on root is not the best idea.

Activity

  1. nathansobo commented on Jan 16, 2015

    @nathansobo
    Contributor
  2. ecbrodie commented on Jan 16, 2015

    @ecbrodie
    Author

    Thanks!

  3. ecbrodie commented on Jan 19, 2015

    @ecbrodie
    Author

    I just checked again today and I'm still seeing the issue. I still get the "Permission denied ..." error when I try to open a readonly file with Atom. I am using the latest Atom version, 0.174.0.

    Perhaps has this bug fix not been released to the wild yet? If not, when is the planned release?

  4. winstliu commented on Jan 19, 2015

    @winstliu
    Contributor

    I believe it'll be released in 0.175.0, which should be coming soon™.

  5. lock commented on Jan 23, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  6. locked as resolved and limited conversation to collaborators on Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions