Conversation
Notices
-
Embed this notice
@sicp @p
okay so i'm back at the laptop. gave the bootargs local!/dev/sdE0/fs -AS, then cat > /rc/bin/nigger, within which
```
#!/bin/rc
echo nigger
^D
```
and then
```
% nigger
/fd/0:3: nigger: directory entry not found './nigger'
% /rc/bin/nigger
/fd/0:4: /rc/bin/nigger: permission denied: './nigger'
% chmod +x /rc/bin/nigger
% nigger
nigger
```
so that didn't work.
-
Embed this notice
@HatkeshiatorTND @sicp It seems like once you +x'd it, it did work.
-
Embed this notice
@HatkeshiatorTND @p Really? Looks like it worked once you chmod +x'ed it. If you're making a new script you've gotta make it executable.
If you wanna fuck around without rebooting, you can just mount it in your namespace: gefs -AS -n gefs -f /dev/sdE0/fs; mount -c /srv/gefs /n/gefs
-
Embed this notice
@p @sicp the original question, continued from another thread, was wanting there to be no permission bit check at all when trying to execute a file.
-
Embed this notice
@HatkeshiatorTND @sicp
> wanting there to be no permission bit check at all when trying to execute a file
You've gotta set it to +x for it to work on any Unix-y OS. (Except by default Linux mounts FAT partitions with automatic +x on all files.) You could do it with a kernel tweak but this would make a lot of things act differently.