this post was submitted on 24 Feb 2025
27 points (100.0% liked)
linux4noobs
1661 readers
16 users here now
linux4noobs
Noob Friendly, Expert Enabling
Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.
Seeking Support?
- Mention your Linux distro and relevant system details.
- Describe what you've tried so far.
- Share your solution even if you found it yourself.
- Do not delete your post. This allows other people to see possible solutions if they have a similar problem.
- Properly format any scripts, code, logs, or error messages.
- Be mindful to omit any sensitive information such as usernames, passwords, IP addresses, etc.
Community Rules
- Keep discussions respectful and amiable. This community is a space where individuals may freely inquire, exchange thoughts, express viewpoints, and extend help without encountering belittlement. We were all a noob at one point. Differing opinions and ideas is a normal part of discourse, but it must remain civil. Offenders will be warned and/or removed.
- Posts must be Linux oriented
- Spam or affiliate links will not be tolerated.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
One issue that Unix filesystems have with network filesystems is mapping userids (the "1000" there) across systems. Internally, Unix filesystems work with userids, but userids are not necessarily the same on one system as another (e.g. "tal@system1" might have userid 1000, and "tal@system2" might have userid 1002...or might not even exist on system2, for that matter.). So normally, a network filesystem needs to provide some kind of sane mapping.
This could be used to fix that.
The problem is that you'd think that if this is Dropbox -- which controls the filesystem and can decide what userid to expose -- they'd just handle this mapping at the filesystem level, not drop this kludge in on top.
Hmm.
thinks
Does Dropbox -- which I don't use -- maybe just provide file synchronization for some directly, not expose an actual filesystem via FUSE or something? Work like
unison
rather than NFS? If that's the case, there won't be an entry for ~/Dropbox if youcat /proc/mounts
. Because that'd make sense if that's what it does and doesn't try to handle handle multiple user file permissions. In that case,~/Dropbox
would live on your local filesystem, and the Dropbox software would just run a program to periodically synchronize it with the servers.In that case, Dropbox couldn't stop you or other software from creating files with whatever IDs you want, since it's not providing the filesystem, but it potentially wouldn't be able to make useful use of different permissions on. So instead of letting you set up a permissions structure that it cannot handle -- which you'd only discover when you synched it to another system, and permissions were broken there -- they could just slam the whole thing back to a canonical representation with a flat set of permissions.
EDIT: The Arch documentation makes it sound like this is indeed how Dropbox works -- that the client software just synchronizes files in a directory on the local filesystem, since apparently
~/Dropbox
can be btrfs. If that weren't the case, there'd be a Dropbox filesystem type (and apparently there are Dropbox clients that can do that, but it's not what the official Dropbox client does; it just synchronizes to a local filesystem). Further, it does say that this root-permission-request-at-login is part of Dropbox:https://wiki.archlinux.org/title/Dropbox
EDIT2: So, in short, getting at what you're probably concerned about, OP, your system probably isn't compromised, and this is probably the Dropbox software.