Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indicate read only mode for directories #2928

Open
mc-butler opened this issue Nov 16, 2012 · 6 comments
Open

Indicate read only mode for directories #2928

mc-butler opened this issue Nov 16, 2012 · 6 comments
Labels
area: core Issues not related to a specific subsystem prio: low Minor problem or easily worked around

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/2928
Reporter birdie (aros@….com)
Mentions gotar@….pl, mooffie@….com (@mooffie)

Some paths in the system can be read only for a user who's browsing them, either because the permissions forbid to create/modify anything in the current directory, or if a certain directory belongs to a mount point which is mounted read only.

Please, add an indicator saying you cannot modify the current directory, something like "[ro]":

┌<─ /mnt [ro] ─────────────────────────.[^]>┐
│'n     Name           │ Size  │Modify time │
│/..                   │UP--DIR│Nov 17 00:23│
@mc-butler
Copy link
Author

Changed by gotar (gotar@….pl) on Nov 28, 2012 at 12:13 UTC (comment 1)

  • Blocked by set to #2904
  • Cc set to gotar@….pl

Proper detection of write access requires multiple checks (not only directory mode, but also xattrs and possibly other things). Until mc has decent ACL support this would only misguide people.

@mc-butler
Copy link
Author

Changed by mooffie (@mooffie) on Apr 6, 2015 at 9:39 UTC (comment 2)

  • Cc changed from gotar@….pl to gotar@….pl, mooffie@….com

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Nov 4, 2016 at 20:13 UTC

  • Blocked by #2904 deleted

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Nov 4, 2016 at 20:14 UTC (comment 4)

  • Blocked by set to #1852

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 18, 2025 at 12:57 UTC (comment 5)

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 22, 2025 at 11:09 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: low Minor problem or easily worked around
Development

No branches or pull requests

1 participant