Open Menu
AllLocalCommunitiesAbout
lotide
AllLocalCommunitiesAbout
Login

When your computer says "You don't have permission to edit this file":

⁨247⁩ ⁨likes⁩

Submitted ⁨⁨15⁩ ⁨hours⁩ ago⁩ by ⁨beep@piefed.world⁩ to ⁨[deleted]⁩

https://media.tenor.com/88Hw8hdI9-sAAAAC/hades-hercules.gif

cross-posted from: https://piefed.world/c/shit/p/1203403/when-your-computer-says-you-don-t-have-permission-to-edit-this-file

source

Comments

Sort:hotnewtop
  • magnolia_mayhem@lemmy.world ⁨30⁩ ⁨minutes⁩ ago

    Laughs in Unix

    source
    • ILikeBoobies@lemmy.ca ⁨20⁩ ⁨minutes⁩ ago

      Like an Indian movie, this file is RRR.

      source
  • Miller@lemmy.world ⁨15⁩ ⁨hours⁩ ago

    What it is actually saying is if you don’t know how to gain access to edit this file you should not be editing this file.

    source
    • bequirtle@lemmy.world ⁨51⁩ ⁨minutes⁩ ago

      I remember trying to mod a game from the xbox app, and couldn’t edit even with trustedinstaller/takeown shenanigans. Turns out the files are encrypted so you can’t even edit it from Linux. And if you disable encryption the game doesn’t run :D

      source
    • f314@lemmy.world ⁨15⁩ ⁨hours⁩ ago

      When I was a kid I deleted the system32.dll file on my grandfather’s computer because it showed up in some error message. It did in fact not solve the error 😅

      source
      • Miller@lemmy.world ⁨15⁩ ⁨hours⁩ ago

        Strictly you stopped getting that particular error message.

        source
        • -> View More Comments
  • mtpender@piefed.social ⁨15⁩ ⁨hours⁩ ago

    Linux users: “I don’t have such weaknesses.”

    source
    • hansolo@lemmy.today ⁨4⁩ ⁨hours⁩ ago

      “You fool, I could sudo rm the whole drive right now. It’s only out of my exuberant benevolence that I don’t.”

      Later: me pressing the up key 38 times rather than type sudo apt update && upgrade

      source
    • Postmortal_Pop@lemmy.world ⁨14⁩ ⁨hours⁩ ago

      I wish. I spent 4 hours trying to get both I and docker to have permission to see my other drive. I finally gave up entirely and made a puid:guid that had access to everything short of root and put myself on that. It’s still dubious as to whether that will work…

      source
      • AmbiguousProps@lemmy.today ⁨2⁩ ⁨hours⁩ ago

        Did you try :Z? Maybe SELinux was blocking you?

        source
      • pticrix@lemmy.ca ⁨12⁩ ⁨hours⁩ ago

        Just do it like a champ and run sudo chmod -R +777 / ! Who needs privilege access anyway?

        source
      • captainlezbian@lemmy.world ⁨10⁩ ⁨hours⁩ ago

        Yeah I need to go in and get access to stuff I saved on my older distros/oses somehow

        source
    • Appoxo@lemmy.dbzer0.com ⁨8⁩ ⁨hours⁩ ago

      Immutable Distros joined the chat

      source
      • AmbiguousProps@lemmy.today ⁨2⁩ ⁨hours⁩ ago

        Well, you can technically remove the immutable flag from files… but I wouldn’t

        source
    • Lumisal@lemmy.world ⁨12⁩ ⁨hours⁩ ago

      Polkit asking you to type the password every few minutes when moving a bunch of files:

      source
  • mp3@lemmy.ca ⁨15⁩ ⁨hours⁩ ago

    Image

    source
    • Appoxo@lemmy.dbzer0.com ⁨8⁩ ⁨hours⁩ ago

      Today I tried to wrestle my way with trusted installer… Went so far as to use psexec to make myself nt-authority\system and was still denied permission. ಥ_ಥ

      source
      • Toes@ani.social ⁨5⁩ ⁨hours⁩ ago

        I’ve done that, did nt authority not work for you? It did for me on server 2008.

        You might need to kill any processes with handles to it using process hacker.

        source
        • -> View More Comments
  • yesman@lemmy.world ⁨11⁩ ⁨hours⁩ ago

    Mastering file permissions is a big part of becoming Linux capable. And it essential to the “everything is a file” ethos. Wanna lock down an important file or program? chmod is a powerful ally.

    Microslop has tried to adopt a half-ass elevated permissions scheme, but with lame-ass UAC and users who’ve no idea why Explorer doesn’t have administrator rights on their administrator account.

    source
    • Viceversa@lemmy.world ⁨11⁩ ⁨hours⁩ ago

      Windows’ way is more convenient for me, than chmod: windows allows you to regulate file access more granularly, more flexible - per any particular user , particular group. Chmod can’t.

      source
      • Limonene@lemmy.world ⁨1⁩ ⁨hour⁩ ago

        chmod can do 95% of everything I’ve ever needed, just with the “user” and “other” category. Private files, public-readable files, public read-write files, programs I compile but anyone can run… all that is just in the “user” and “other” category of chmod.

        It gets 99% if you add the sticky bit (used on /tmp) and the “group” category. Serial ports are owned by root:dialout, and mode 660. To get serial port access, just add the user to the dialout group. For group assignments in college, each partner pairing had their own group they could use. Group work files were mode 660 so groups could edit each others’ work, but other groups couldn’t peek.

        For the last 1%, use setfacl. It does everything that explorer.exe’s security tab can do.

        source
      • yesman@lemmy.world ⁨10⁩ ⁨hours⁩ ago

        Either I don’t understand your comment, or you don’t understand chmod. What you describe ins’t beyond chmod; it’s the basic functionality of chmod.

        source
        • -> View More Comments
      • Appoxo@lemmy.dbzer0.com ⁨8⁩ ⁨hours⁩ ago

        setfacl can do.
        It’s just that *NIX users want the stupid POSIX model and authenticating with user-ids (private keys) instead of proper usernames +password and private keys.
        Go figure /shrug

        source
  • chuckleslord@lemmy.world ⁨8⁩ ⁨hours⁩ ago

    So? How the hell is it supposed to know that when you’re trying to do things wrong? Would you rather it let any one do anything, so long as they control the mouse?

    source
  • lemmy_get_my_coat@lemmy.world ⁨15⁩ ⁨hours⁩ ago

    *when you run Windows:

    source
  • Eat_Your_Paisley@lemmy.world ⁨15⁩ ⁨hours⁩ ago

    That’s what chown is for

    source