Re: "Recovered Files" Always in Trash



On 11/16/06 7:30 PM, in article C1826C7D.326A%markpedretti@xxxxxxxxxxx,
"Mark Pedretti" <markpedretti@xxxxxxxxxxx> wrote:

So this leaves me/us with a couple of options:

-(1) figure out how to repair the permissions on an invisible folder
(Temporary Items). I made some initial forays into investigating this by
using an app that showed all invisible items, but I couldn't change the
permissions in the Get Info window for anything that looked like it might be
the responsible folder.

Run this script in Script Editor:


set tempFolderPath to path to temporary items as Unicode text
tell application "Finder"
set tempFolder to folder tempFolderPath
tell tempFolder to set {owner privileges, group privileges, everyones
privileges} to {read write, read only, read only}
set allTempFiles to entire contents of tempFolder
repeat with i from 1 to (count allTempFiles)
set tempFile to item i of my allTempFiles
tell tempFile
set {owner privileges, group privileges, everyones privileges}
to {read write, read only, read only}
end tell
end repeat
end tell

(If you get an error saying this is not allowed, it would mean that you are
not the owner of your own temp folder, which is pretty well impossible. But
if you do, report back.)

-(2) screwing around at the root user level. This might include seeing if I
can change the permissions at this level, or even performing an install of
Office from here. I must admit that this idea strikes fear into my heart,
if only because I'm new to this file system and worry that I might make
things even worse. But then again, most of my major breakthroughs on the
Mac have come from taking such risks.


Don't!


Relevant Pages

  • Re: "Recovered Files" Always in Trash
    ... and ran the script from the Script ... set everyones privileges of folder "TemporaryItems" of folder ... tell tempFolder to set {owner privileges, group privileges, everyones ...
    (microsoft.public.mac.office.word)
  • Re: Child-proof computing...
    ... Quite simply, the application doesn't "know" how to handle individual user profiles with differing security permissions levels, or the application is designed to make to make changes to "off-limits" sections of the Windows registry or protected Windows system folders. ... If this does prove to be the case, however, you're often left with two options: Either explicitly grant normal users elevated privileges to the affected folders and/or partor the registry, or replace the application with one that was properly designed specifically for WinNT/2K/XP. ... "If your game or application works with admin accounts, but not with limited accounts, you can fix it to allow limited users to access the program files folder with "change" capability rather than "read" which is the default. ...
    (microsoft.public.windowsxp.general)
  • Re: best practices for software installation
    ... Quite simply, the application doesn't "know" how to handle individual user profiles with differing security permissions levels, or the application is designed to make to make changes to "off-limits" sections of the Windows registry or protected Windows system folders. ... If this does prove to be the case, however, you're often left with three options: Either grant the necessary users appropriate higher access privileges, explicitly grant normal users elevated privileges to the affected folders and/or partor the registry, or replace the application with one that was properly designed specifically for WinNT/2K/XP. ... "If your game or application works with admin accounts, but not with limited accounts, you can fix it to allow limited users to access the program files folder with "change" capability rather than "read" which is the default. ...
    (microsoft.public.windowsxp.general)
  • RE: VS.NET, VB6 and MSDN
    ... >install) all of which I develop without administrator privileges. ... >privileges on the wwwroot folder when I'm not doing anything remotely ... Save the outputs to a log file. ... Forward the information to the administrator of the machine and have your account given rights to the appropriate resources. ...
    (microsoft.public.vstudio.general)
  • Re: Clear I.E. drop box
    ... You need to delete the folder not just the contents. ... that you can not delete this folder from your own account while running it. ... >> Log onto another user with Admin privileges or create a user with Admin ... > In Safe Mode I can log on as "administrator", ...
    (microsoft.public.windowsxp.general)

Loading