The tmp file doesn’t exist after i clicked cancel
I looked at the file’s content in another virtual console instead of pressing cancel. It recursively changes the Dropbox folder and contents to be owned by me and allow read+write+search by me.
Some googling suggests this is what Dropbox does when it doesn’t like the owner or permissions of any files in the Dropbox folder. It is very weird though. I assume you have dropbox installed? It is syncing correctly? Running
find /home/dullbananas/Dropbox/ ! -user 'dullbananas'
will list any files in that folder that aren’t owned by you.Assuming your userid is 1000 (likely but not guaranteed), running the script should be harmless and stop the password prompt from appearing until there is another file permission issue. Check your user id with
id -u 'dullbananas'
.
I’d like to see the bunnies please.
Fuck yeah
Confirm that you looked in “/bin/sh/tmp/” and not “/bin/sh /tmp” (notice the single space ’ ’ after the ‘h’).Ignore my previous comment, I was incorrect. Apologies. I had thought it was malware trying to look like something else, and that the who thing quoted was the single command, and not a command and an argument/parameter.
/bin/sh is the shell binary. The other part of that string is the argument being passed to the shell. The whole thing looks sus.
I looked in /tmp
Reread what I wrote. There may be two subdirectories named ‘../tmp/’ on your machine.
Edit: For anyone else, how do I type just two periods? When I do, it displays as an ellipsis, three periods.
Surely the space is part of the command. It’s running sh with the file in /tmp as the parameter (run this file).
You’re right. I assumed the whole thing is a single command, and not a command with an argument/parameter. My bad.
Didn’t realize ‘sh’ was a shortcut to bash in and of itself. Thought you had to mark a file as an executable, like “.sh” files.
Escape one of them
\..
=> ..Thank you!