Ubuntu just started renaming files while exporting (sending over mail, KDE Connect, Whatsapp web). The folder is my google drive, connected to my google drive. Sometimes it looses its file ending/type as well. The file is called something like: “1Kfhgsji2rjfIS-fi3oo598nf8ajlfoi.pdf”

I guess its a weird bug, it persist even after a restart. Thanks, maybe you have a solution

  • Dave.@aussie.zone
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    It sounds like your sync process can create files, but not rename them afterwards.

    That long filename you’ve got now is likely the temporary name you get while the file is being transferred, once it’s fully there it usually gets renamed to what you want it to be.

    Go up one level and check the permissions for the directory the files are in. The permissions should be read-write, otherwise it’d not be able to create files in there at all, but check if the “sticky bit” is set. That stops processes from renaming files once they are made.

    Unfortunately I’m travelling at the moment, but hopefully your file manager will have a way of showing if the “sticky bit” is set for that directory.

    • WbrJr@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      3 months ago

      I should have sudo rights. I’m the only user on the pc and I can execute commands as sudo. The sticky bit seems not to be set. According to the quick Google search it is a “t” behind the rwx permissions when doing ls -l