From: Jolly Roger on
Wes Groleau <Groleau+news(a)FreeShell.org> wrote:
> On 07-11-2010 09:08, Jolly Roger wrote:
>>>> I¹m having my doubts. As I posted earlier, I got errors
>>>> (1) trying to save a graphic I had modified
>>>> (2) trying to drag in a copy I had saved to my desktop.
>> It's possible the file(s) you tried to modify are protected.
> > Ownership,
>> permissions, and other file system protection mechanisms are just as
>> valid on the iPhone as they are on Mac OS X.
>
> Possible, but a pop-up that says "error 39" is not the
> normal thing for trying to save a read-only file.

-39 is 'eofErr' End of file; no additional data in the format

It's certainly reasonable to imagine getting such an error because the
device refused to write a file.

--
Posted from my iPhone.
From: Wes Groleau on
On 07-11-2010 21:09, Jolly Roger wrote:
> Wes Groleau<Groleau+news(a)FreeShell.org> wrote:
>> On 07-11-2010 09:08, Jolly Roger wrote:
>>>>> I¹m having my doubts. As I posted earlier, I got errors
>>>>> (1) trying to save a graphic I had modified
>>>>> (2) trying to drag in a copy I had saved to my desktop.
>>> It's possible the file(s) you tried to modify are protected.
>>> Ownership,
>>> permissions, and other file system protection mechanisms are just as
>>> valid on the iPhone as they are on Mac OS X.
>>
>> Possible, but a pop-up that says "error 39" is not the
>> normal thing for trying to save a read-only file.
>
> -39 is 'eofErr' End of file; no additional data in the format
>
> It's certainly reasonable to imagine getting such an error because the
> device refused to write a file.

Perhaps--but that adds to your "just as valid" the clarification "but
implemented very differently." If I open a 444 file with
GraphicConverter from my Desktop, change it and try to save, I get
told that I can't do it because of permissions.

Now let's look at one with PhoneDisk.
Pick an app I'm willing to risk, … IMDB.
Get info on the icon: default app is TextEdit! but it says I can read
and write. See if ls -la agrees and what kind of file.

MBP:~ wgroleau$ ls -lat /Volumes/iPhone\(IMDb\)/iTunesArtwork
-rw-rw-rw- 1 wgroleau 502 28419 May 5 01:14
/Volumes/iPhone(IMDb)/iTunesArtwork
MBP:~ wgroleau$ file !$
file /Volumes/iPhone\(IMDb\)/iTunesArtwork
/Volumes/iPhone(IMDb)/iTunesArtwork: JPEG image data, JFIF standard 1.01

Open in GraphicConverter, OK
Change colors
try to save to exact same filesize (didn't before, but maybe...)
Logical end-of-file during READ operation!



--
Wes Groleau

Conservatives are funny …
http://Ideas.Lang-Learn.us/barrett?itemid=1543
From: Jolly Roger on
In article <i1dv0a$62e$1(a)news.eternal-september.org>,
Wes Groleau <Groleau+news(a)FreeShell.org> wrote:

> On 07-11-2010 21:09, Jolly Roger wrote:
> > Wes Groleau<Groleau+news(a)FreeShell.org> wrote:
> >> On 07-11-2010 09:08, Jolly Roger wrote:
> >>>>> I��m having my doubts. As I posted earlier, I got errors
> >>>>> (1) trying to save a graphic I had modified
> >>>>> (2) trying to drag in a copy I had saved to my desktop.
> >>> It's possible the file(s) you tried to modify are protected.
> >>> Ownership,
> >>> permissions, and other file system protection mechanisms are just as
> >>> valid on the iPhone as they are on Mac OS X.
> >>
> >> Possible, but a pop-up that says "error 39" is not the
> >> normal thing for trying to save a read-only file.
> >
> > -39 is 'eofErr' End of file; no additional data in the format
> >
> > It's certainly reasonable to imagine getting such an error because the
> > device refused to write a file.
>
> Perhaps--but that adds to your "just as valid" the clarification "but
> implemented very differently." If I open a 444 file with
> GraphicConverter from my Desktop, change it and try to save, I get
> told that I can��t do it because of permissions.
>
> Now let��s look at one with PhoneDisk.
> Pick an app I��m willing to risk, �� IMDB.
> Get info on the icon: default app is TextEdit! but it says I can read
> and write. See if ls -la agrees and what kind of file.
>
> MBP:~ wgroleau$ ls -lat /Volumes/iPhone\(IMDb\)/iTunesArtwork
> -rw-rw-rw- 1 wgroleau 502 28419 May 5 01:14
> /Volumes/iPhone(IMDb)/iTunesArtwork
> MBP:~ wgroleau$ file !$
> file /Volumes/iPhone\(IMDb\)/iTunesArtwork
> /Volumes/iPhone(IMDb)/iTunesArtwork: JPEG image data, JFIF standard 1.01
>
> Open in GraphicConverter, OK
> Change colors
> try to save to exact same filesize (didn't before, but maybe...)
> Logical end-of-file during READ operation!

Often in Mac OS X modifying a file actually results in creating a brand-
new file and replacing the existing file with it. It's not hard to
imagine that in such a case, if the creation of the new file failed
silently due to ownership and permissions issues, the next operation to
move that file into place to replace the old file would fail with a LOF
during read error.

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR