• Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    chown won’t alter the ACLs set by setfacl (which is much closer to the permission model Windows follows).

    On Windows, you can use takeown /f "path" /r to recursively set the owner on a directory. Powershell can do more fine-grained control if necessary.

    The problem with this and your proposed Linux solution is that most normal users don’t know any command line tools and just want a button to access their files. Windows does have this, but it doesn’t always work reliably. On Linux it depends on the file manager, but I don’t think any of them support setfacl-style permissions.

    • Carighan Maconar@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      In which case you could also go right-click -> properties -> security -> advanced -> click change where it lists the owner.

      It’s not as quick but hey, mouse-driven UI exists.

    • PumaStoleMyBluff@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 months ago

      The fact that Andrew might have to run this at all means Windows (or possibly the manufacturer of his camera) has fucked up. He should not need to learn about this to use his files. Obviously he shouldn’t have permissions to system files but that’s clearly not what he actually wants.