App - Script
Sunday 10 November 2024, 20:36 #1
App - Script: Bash - System 1
Hi there!
I’m very new to this, so I’m struggling on Bash System 1. Here is what I’ve done so far:
1. Copied ch11.c, /bin/cat, and /bin/sh to a /tmp/me folder
2. Recompiled ch11
3. chmod 4777 on ch11, cat, and sh
4. Renamed cat to ls
But when I run ./ch11, I still get a "permission denied" error. It seems like I lack sufficient permission, but I’m not sure how to escalate my permissions. my thoughts were to use something like python’s os.system, but that still has a permission denied error. Any tips? Thanks in advance!