Score:0

No read/write access to files owned by root, when using sshfs as root

ax flag

I am using sshfs. I log in as root: sshfs [email protected]:/ /mnt/remotes/domain.pl-root (using keys). The login process is successful. When I create any file anywhere in /mnt/remotes/domain-root/, its owner and group are root. So it seems that I am currently root there, right?

So why can't I read files owned by root that have read and write permissions for the owner (root)? For example, a file like this: -rwxr-x--- 1 root root 2.0K Jul 17 19:57 some-file.txt - I can't read it when in the directory mounted by sshfs. However, when I log in "normally" as root via SSH (ssh [email protected]), I don't have any issues.

Why is that?

Remote OS: Ubuntu 20. Client OS: Ubuntu 22. But I doubt it matters :)

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.