Closed GoogleCodeExporter closed 9 years ago
Well, what happens if you type ls?
Does touch ./foo work?
Original comment by dave.sto...@gmail.com
on 17 Oct 2010 at 3:00
ls command works, but foo doen't get created
touch ./foo gives same error as touch foo
Original comment by Aleksej....@gmail.com
on 17 Oct 2010 at 3:03
not even "> foo" ? (without quotes)
Original comment by dave.sto...@gmail.com
on 17 Oct 2010 at 3:06
> not even "> foo" ? (without quotes)
gives error `-sh: foo: operation not permitted'
outside /var/mobile everything seems to work fine, error only occurs in
/var/mobile and subdirectories (like /var/mobile/Media)
I get the same errors if i try it as root
Original comment by Aleksej....@gmail.com
on 17 Oct 2010 at 3:10
-sh: Does it work with bash?
Original comment by dave.sto...@gmail.com
on 17 Oct 2010 at 3:12
nope, same error with bash: `bash: foo: operation not permitted'
Original comment by Aleksej....@gmail.com
on 17 Oct 2010 at 3:15
could it be that foo is a command?
Have you tried something like touch terminaltest yet?
Original comment by dave.sto...@gmail.com
on 17 Oct 2010 at 3:31
touch /var/foo works (as root)
touch /var/mobile/foo fails (as root and as mobile)
touch terminaltest also fails
touch /foo (as mobile) gives error "touch: cannot touch `foo': permission
denied" (as expected)
touch /var/mobile/foo fails (as mobile) results in "touch: setting time of
`foo': No such file or directory" (different error message!)
Original comment by Aleksej....@gmail.com
on 17 Oct 2010 at 3:40
Oh and: I just downloaded the Terminal-472.zip from
http://code.google.com/p/mobileterminal/downloads/list, unzipped it, got
Terminal.app and dragged-and-dropped that into iTunes. Did I miss some
mandatory installation steps?
Original comment by Aleksej....@gmail.com
on 17 Oct 2010 at 3:43
Yeah, I'm afraid itunes won't sync that
You have to install it manually
Original comment by dave.sto...@gmail.com
on 17 Oct 2010 at 3:48
Can't get it to work. iFile can create, change, and delete files in
/var/mobile/, if I ssh into it i can also create, change, and delete files.
From inside MobileTerminal i get the error. Also (maybe unrelated):
From inside MobileTerminal:
iPhone-4:/var/mobile root# ping google.com
ping: ping must run as root
iPhone-4:/var/mobile root# whoami
root
iPhone-4:/var/mobile root#
From another computer:
0, ~ $ ssh mobile@192.168.2.114
mobile@192.168.2.114's password:
iPhone-4:~ mobile$ ping google.com
PING google.com (209.85.135.104): 56 data bytes
64 bytes from 209.85.135.104: icmp_seq=0 ttl=56 time=29.536 ms
64 bytes from 209.85.135.104: icmp_seq=1 ttl=56 time=28.159 ms
64 bytes from 209.85.135.104: icmp_seq=2 ttl=56 time=27.045 ms
c64 bytes from 209.85.135.104: icmp_seq=3 ttl=56 time=27.795 ms
--- google.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 27.045/28.134/29.536/0.904 ms
iPhone-4:~ mobile$
I'm giving up for now. Let me know if I can give you any further information on
the error.
Original comment by Aleksej....@gmail.com
on 17 Oct 2010 at 4:13
I believe the problem is that you can't simply install mobileterminal from
iTunes. You need to copy it to /Applications/ yourself.
Original comment by allen.po...@gmail.com
on 22 Nov 2010 at 2:26
allen, just tried that an got it to work. thanks.
Original comment by Aleksej....@gmail.com
on 3 Dec 2010 at 5:45
Original comment by allen.po...@gmail.com
on 4 Dec 2010 at 6:12
Original issue reported on code.google.com by
Aleksej....@gmail.com
on 17 Oct 2010 at 2:58