Ticket #2928 (new enhancement)

Opened 7 years ago

Last modified 3 years ago

Indicate read only mode for directories

Reported by: birdie Owned by:
Priority: minor Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc: gotar@…, mooffie@…
Blocked By: #1852 Blocking:
Branch state: no branch Votes for changeset:

Description

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│

Change History

comment:1 Changed 7 years ago by gotar

  • Cc gotar@… added
  • Blocked By 2904 added

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.

comment:2 Changed 4 years ago by mooffie

  • Cc mooffie@… added

comment:3 Changed 3 years ago by zaytsev

  • Blocked By 2904 removed

comment:4 Changed 3 years ago by zaytsev

  • Blocked By 1852 added
Note: See TracTickets for help on using tickets.