this post was submitted on 23 Mar 2024
27 points (88.6% liked)

Linux

48328 readers
641 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] dgriffith@aussie.zone 9 points 8 months ago (3 children)

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.ml -3 points 8 months ago (2 children)

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

[–] dgriffith@aussie.zone 2 points 8 months ago (1 children)

You might be the only user, but there are processes running on your machine that are not you. Most system processes try to run with the least permissions possible to mitigate security risks.

It feels like it's this kind of problem, but it could also be something to do with file locking. Eg the transfer process wants to rename the file but it can't because another process has it open.

[–] WbrJr@lemmy.ml 1 points 8 months ago

Can I check what processes are using a file?