Re: Wrong Temporary Items?
Re: Wrong Temporary Items?
- Subject: Re: Wrong Temporary Items?
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 05 Dec 2002 08:02:16 -0800
On 12/5/02 1:59 AM, "Chris Page" <email@hidden> wrote:
>
First, clearly there's some confusion about exactly which of the
>
folders you listed in your message are "real" temporary items folders.
>
I suspect one or more of them may be historical -- Apple may have
>
changed the location at some point, but didn't add any code to delete
>
old ones. Just a guess.
That's what it looks like. From the last mod date in Oct. 2001 for the
invisible folder in my own User sector, it looks as if OS 10.1 moved the
temp folder to where it is now.
>
>
In any case, strictly speaking, there's nothing wrong with items in the
>
user domain being stored over in "OS X HD:private:tmp:501:". "501" is
>
your user id, and as long as you have read access to the enclosing
>
folders, and write access to the desired locations within the 501
>
subfolder, that should be just fine.
That's the part I was wondering. It requires that every user, not just users
with admin privileges, have read access to /private/tmp. And if "501" is
some sort of alias (?) for my username, where are the other users' temp
folders? I guess they're not available even to Administrators?
Or maybe it's like this: the whole point of temporary Items is that it's
temporary. When you log out, temp items are deleted. Only one user at a time
can physically log in. So '/private/tmp/501/Temporary Items' is used by
whoever is currently logged in, and nothing is left behind for the next user
when you log out. a "way station", so to speak. Makes sense. Maybe that's
why 'path to temporary items' - with no domain qualification - just works.
I wonder what network users - who _can_ log on at the same time - use as
their Temp folder? maybe something on their own computers rather than
somewhere on the host server to which they're connecting. Again, 'path to
temporary items from network domain' just gives me the same folder again,
even though I've got no network server mounted. Even when I do have one
mounted, I probably just use my own local Temp Folder. Actually, this all
hangs together pretty well.
>
>
Having said that, I don't know for certain whether we're getting
>
entirely the correct result. I get the same result for the temporary
>
items folder in every domain. I half expected a different location or
>
an error for the system and network domains. For example, trying to get
>
the trash in the other domains returns an error for me. Perhaps this
>
difference is strictly a bug, but it isn't clear to me whether they
>
should both return errors or folders for the other domains.
I think it manages in one stroke to make sure that Temp Items are strictly
temp and always findable. Maybe su (root) on a controlling machine can get
into temp items on client computers if necessary.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.