Permissions Script

Hi, apologies if the answer to this is already out in the wild, but my Googling has drawn a blank.
We have single sign on with Active Directory holding all the user accounts. We have the network home folders stored on a Raid attached to one of our 10.8 servers.
Now the problem we have is, when we add a new user and fill in the path to the home folder Active Directory will create the folder, set the POSIX permissions so that the user that created the account has ownership and domain users & others have no access. The ACL is then inherited from the parent folder. I'm pretty sure this is a problem with SMBX as we didn't have this issue when the Servers where running 10.6. This hasn't been much of an issue as we've not had many users to create and then ones we have, I've just set the permission in the server app manually. In the next few weeks though we'll be creating the accounts for our new students, has anyone else seen this issue? I've logged it as a bug with Apple but I don't think it'll be fixed in time, so...
Does anyone have a script kicking around that will:
Remove the inherited permissons
Check AD for a username against a folder of the same name
Set the permissions of that username to Read and Write
Add in Domain Admin's with full control
My bash scripting isn't great, but I'll poke around Google some more until some kind soul takes pity on me
Thanks!

Hello Alexis,
Make modifications to your scripts like this....
[void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
$User = [Microsoft.VisualBasic.Interaction]::InputBox("Username,Name,GUID,Alias etc","Enter the name of
the Mailbox you want to Search permissions for")
        [system.Windows.Forms.MessageBox]::show("$user","Completed!")
$ConvertedUser = (get-mailbox $user).userprincipalname.split("@")[1].split(".")[0] + "\" + (get-mailbox
$user).userprincipalname.split("@")[0]
$output = Get-Mailbox -resultsize Unlimited -RecipientTypeDetails sharedmailbox  |Get-MailboxPermission

Where-Object {($_.AccessRights -eq "FullAccess") -and ($_.User -like $ConvertedUser) -and ($_.IsInherited
-eq $false) -and ($_.User -notlike 'NT Authority\Self')} 
$Output | FT Identity
$Output | Export-CSV c:\user.csv -notypeinformation
Write-Host "Press any Key To continue..."
$Temp = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
This will ask user to press any key before it disappears and saves result to c:\user.csv file....

Similar Messages

  • DCOM Permissions Scripting

    Hi Scripting Guys.
    I have to automate application deployment to a server 2012 R2. I have scripted with VBS all the configurations except of DCOM permissions configuration for the windows service account that calls Office 2010 (32bit) apps (Word, Excel, PowerPoint ...). I know
    using Office on a server is not the best idea, but in my case I do not have a choice and it works fine. However I have to avoid any manual deployment and configuration steps. I can easily configure 32 bit DCOM for Office apps manually and the application works
    fine, but I cannot find the DCOM configuration scripting solution either VBS or batch commands.
    I need to allow windows service account (domain user) to launch and access the Office apps in order to convert and format office documents to PDF. The service account is a member of local server Administrator group.
    Please help.
    Thanks
    --kengures 

    Office components aren't supported under a service model. 
    Here are the instructions for setting COM permission:
    https://technet.microsoft.com/en-us/library/cc731858.aspx?f=255&MSPPError=-2147217396
    The only method I know of to set these are using the SDK tool called dcomperm.exe.  You can also use the MSI installer to set permissons.  See the MSI SDK for instructions.  I know of no way to do this with a script.
    I can give you a pointer.  Under AppID in the registry the security is set as a binary entry.  You can set this by geberating the binary security ID using the Windows API.
    Here are the instructions on how this is done:
    https://msdn.microsoft.com/en-us/library/aa384905%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    \_(ツ)_/

  • List permissions script pop up dissappears

    Hello,
    I've created a script for the help desk that works. Thing is when the help desk double clicks the powershell shortcut the scripts executes and gives them the info and the window closes.
    I would like the window the stay open so that they are able to read what is in there and also pipe the results into a csv file for them on the root of their C drive.
    Here is the script:
    [void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
    $User = [Microsoft.VisualBasic.Interaction]::InputBox("Username,Name,GUID,Alias etc","Enter the name of the Mailbox you want to Search permissions for")
            [system.Windows.Forms.MessageBox]::show("$user","Completed!")
    $ConvertedUser = (get-mailbox $user).userprincipalname.split("@")[1].split(".")[0] + "\" + (get-mailbox $user).userprincipalname.split("@")[0]
    Get-Mailbox -resultsize Unlimited -RecipientTypeDetails sharedmailbox  |Get-MailboxPermission |
    Where-Object {($_.AccessRights -eq "FullAccess") -and ($_.User -like $ConvertedUser) -and ($_.IsInherited -eq $false) -and ($_.User -notlike 'NT Authority\Self')} |
    Format-Table Identity
    Thanks
    Alexis

    Hello Alexis,
    Make modifications to your scripts like this....
    [void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
    $User = [Microsoft.VisualBasic.Interaction]::InputBox("Username,Name,GUID,Alias etc","Enter the name of
    the Mailbox you want to Search permissions for")
            [system.Windows.Forms.MessageBox]::show("$user","Completed!")
    $ConvertedUser = (get-mailbox $user).userprincipalname.split("@")[1].split(".")[0] + "\" + (get-mailbox
    $user).userprincipalname.split("@")[0]
    $output = Get-Mailbox -resultsize Unlimited -RecipientTypeDetails sharedmailbox  |Get-MailboxPermission

    Where-Object {($_.AccessRights -eq "FullAccess") -and ($_.User -like $ConvertedUser) -and ($_.IsInherited
    -eq $false) -and ($_.User -notlike 'NT Authority\Self')} 
    $Output | FT Identity
    $Output | Export-CSV c:\user.csv -notypeinformation
    Write-Host "Press any Key To continue..."
    $Temp = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
    This will ask user to press any key before it disappears and saves result to c:\user.csv file....

  • File permissions between user accounts on one computer

    Hi!!!
    I have an iMac PowerPC G5 computer which I set with 2 accounts, one for me (the administrator) and another for some workers.
    I´m having problems regarding writing and using files. I have some documents which both accounts need to use, read and save. The original files are not in the administrator account, but on the normal one. What I do when I want to read and write on a file located on the normal account is access to it going into the other user account and open it from the document folder. BUT i have to be givening permissions all the time because it lose them when I switch between both accounts
    Sorry for my english, i´ll try to explain better:
    1-I open a file which is in the normal account from my administrator account
    2- It wont let me save anything so i have to give writing permissions
    3-I switch to the normal account and wont allow me to write again, so I have to give permission again
    4- Everytime I switch accounts i will have to give permission
    How can i solve this?
    Thanks!!
    G.

    Sean Dale1 wrote:
    Very interesting thank you.
    I wondered if it might be possible to modify files copied into such a shared folder with the aid of an AppleScript or Automator action saved as an application
    nothing you can do with applescript or automator can come anywhere close to be as simple or as effective as the ACL method. folder actions only watch the top level of the folder they are attached to and plus they are extremely unreliable. what could be simpler than the method outlined above? you run two terminal commands and you are set. no scripts to run, no cron or launch daemons to make to run some periodic change of permissions scripts. file system does everything itself.
    or would opening a file and then doing a simple 'Save As' to the folder do the trick?
    only if you don't mind creating multiple copies of the same file any time you need to change it.
    the only real problem with the ACL method is that inherited ACLs are not applied to items moved into the shared folder, only to copied or new files. this is not normally an issue except with some applications like photoshop which like to utilize temp files. when photoshop saves chages to a file it does the following. it saves the changed file to a temp file in a temporary directory, deletes the current file and then moves the temp file to where the original file was. because moving is involved this washes out the ACLs. very bad of photoshop. if you are unlucky enough to be using an app like this then there is a different method that can be used that does not have the deficiency of ACLs with respect to moved files but it requires some more prep. although once the prep is complete it works quite well. see my os x hint here
    http://www.macosxhints.com/article.php?story=20100202195536952
    on how to do that. However, in most situations the ACL method is perfectly suitable and is much easier to set up so I recommend you go with that.

  • Unable to close Safari windows

    I am unable to close any windows in Safari.
    I am able to expand and minimize them.
    I had been unable to open Safari which I resolved by removing the Safari preferences file and have tried repeating this as well as resetting Safari and running general maintenance proceedures such as permissions, scripts, etc. with no success.
    Is it possible to reinstall just Safari ( mine is version 2.03) or can this only be done through a system update?
    Thanks for your help!
    733 MHz Power PC G4   Mac OS X (10.4)  

    After attempting various fixes and several unsuccessful attempts at using the 10.4.7 combo updater I was finally able to update to 10.4.7 from my Tech Tool eDrive.
    Somewhere along this process, I think after the System update, my window problem was resolved.
    Thanks.
    733 MHz Power PC G4   Mac OS X (10.4)  

  • Hyperion Enterprise web error

    Hi ,
    Thanks a lot on helping me in resolving one issue, "Hyperion Enterprise Error: Module not Found He.hecontainer". But when I click on application setup I am getting the following error message.
    Server Error in '/HEWeb' Application.
    Source File: C:\Program Files (x86)\Hyperion Solutions\Hyperion Enterprise\HEWeb\StartupAdminMain.aspx Line: 795
    Object variable or With block variable not set.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.NullReferenceException: Object variable or With block variable not set.
    Source Error:
    Line 793:
    Line 794: ' Get the application list
    Line 795: vtStatusCode = Application("EntAppObject").EnumApps(vtAppListXML, vtStatusDesc)
    Line 796:if vtStatusCode 0 or vtAppListXML = "" then
    Line 797: ' To display the localized string for Errorloading application list problem
    Source File: C:\Program Files (x86)\Hyperion Solutions\Hyperion Enterprise\HEWeb\StartupAdminMain.aspx Line: 795
    Stack Trace:
    [NullReferenceException: Object variable or With block variable not set.]
    Microsoft.VisualBasic.CompilerServices.Container..ctor(Object Instance) +765074
    Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +538
    ASP.startupadminmain_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\Program Files (x86)\Hyperion Solutions\Hyperion Enterprise\HEWeb\StartupAdminMain.aspx:795
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
    System.Web.UI.Page.Render(HtmlTextWriter writer) +38
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint
    Thanks,
    Rakesh

    Hi Rakesh - looks like you opened a new thread. (not sure which one is active so I've posted to both. I'll look for a reply on both. Cheers. -David),
    Hyperion Enterprise Reporting 6.5 is NOT supported on MS Windows 2008 server.
    Hyperion Enterprise Reporting 6.5.1 is supported.
    Could you please verify your version of Hyperion Enterprise Reporting (again)?
    Please also verify the other components of your build against your version at the following link:
    http://www.oracle.com/technetwork/middleware/bi-foundation/hyperion-supported-platforms-085957.html
    (See Hyperion Enterprise 6.5.1 (XLS) or Hyperion Enterprise 6.5 (XLS) depending on your version)
    Also can you confirm you performed the following steps during your installation of Hyperion Enterprise Reporting?:
    Applies to:
    Hyperion Enterprise Reporting - Version: 6.3.1.0.00 to 6.5.1.0.00 - Release: 6.3 to 6.5
    Information in this document applies to any platform.
    Purpose:
    Configuring Hyperion Enterprise Reporting Web.
    Questions and Answers
    How to Configure Hyperion Enterprise Reporting Web?
    1. Create LOCAL username and password with Administrator rights. This is your impersonation account.
    You may use the local administrator as your impersonation account, but it MUST be local, not a domain admin.
    2. Users IWAM..., IUSER... SYSTEM, INTERACTIVE, Administrator and Everyone are automatically created users/groups.
    In Local Security Settings -> Local Policies -> User Rights Assignment.
    Add the add IUSR, IWAM, SYSTEM, INTERACTIVE, Administrator, Impersonation account and Everyone to:
    a) Act as part of the Operating System.
    b) Log on locally (or Allow log on locally).
    c) Log on as a service.
    d) Log on as a batch job.
    3. In IIS services <server>
    Web Sites -> Default Web Site -> Right click on HSpider -> properties
    Virtual Directory tab.
    Select only Log visits and Index this resource.
    Application name: HER.
    Execute Permissions: Scripts and Executables .
    Application Protection: High.
    Directory Security tab.
    Deselect all except Basic Authentication .
    (Windows 2003) Web Service Extension .
    Select All Unknown ISAPI Extensions.
    Click the Allow button.
    Repeat with all other items starting with HER and Active Server Pages.
    4. In Component Services -> Computer ->
    a) Right click on My Computer -> Properties.
    b) Default security tab (COM security tab).
    c) Access Permissions Edit Default button.
    d) Add IUSR, IWAM, SYSTEM, INTERACTIVE, Administrator, and Impersonation account.
    e) Launch and Activate permissions Edit Default button.
    f) Add IUSR, IWAM, SYSTEM, INTERACTIVE, Administrator, and Impersonation account.
    5. My Computer -> Com+
    a) IIS... HSpider properties -> Identity tab.
    b) Browse to impersonation account and add password.
    6. My Computer ->DCOM Config (or Start-> Run -> DCOMCNFG).
    a) Right click HypPkgrH_Pooler -> Properties -> Identity tab.
    b) Browse to impersonation account and add password.
    c) Repeat with Spider_Pooler.
    7. Internet services must be reset (Start -> Run -> iisreset).
    8. In the Hyperion Enterprise Reporting folder of the Start menu, select Web Server administration
    Program.
    Options button.
    Network tab.
    Select Allow Hyperion Enterprise Reporting Web Server to access other network devices.
    Add the impersonation account and password.
    If desired, select the Preload tab and add your application.
    System is Enterprise6 as found in the repeng.ini.
    If using Distributed Retrieve or Schedules
    9. In the Hyperion Enterprise Reporting folder of the Start menu, select Distributed Server Manager
    a) Network tab
    b) Select Allow client to access other network devices
    c) Add the impersonation user and password
    If you have any questions about these steps please don't hesitate to drop me a note and I'll do my best to explain what is required.
    G'Luck,
    -David

  • Snow Leopard and hard disk problems?

    This may just be a coincidence but I and several colleagues have had problems with Macs over the past week.
    a) My Macbook Pro lost the date/time and wi-fi settings. Next reboot wi-fi was still lost. Now seems OK again.
    b) At times my 24" iMac is running slowly when nothing seems to be hogging resources (eg just copying a 3Gb file to an external hard disk). Time Machine also seems to be taking much longer to backup.
    c) Hard disk failed on a Macbook Pro of a colleague
    d) iMac 27" seems to be having severe hard disk problems for another colleague - Applecare will be visiting after trying numerous fixes over the phone.
    On my machines I have run the Cocktail suite (permissions, scripts and caches) Disk Utility Repair and Techtools Deluxe (no reported problems) but the iMac problems seem to creep back.
    It is like a disk caching process (or Spotlight?) is not cleaning up properly and is clagging up the system. Or maybe a hard disk is close to failure but the problem is not severe enough to show up in diagnostics? In any case I am diligent about backing up at the moment!

    Or maybe a hard disk is close to failure but the problem is not severe enough to show up in diagnostics?
    Common symptoms of a dying hard drive
    Hard drive is making a clicking, whirring, grinding, ping pong ball noise or any other type of unusal noises.
    Hard drive is not spinning.
    Computer is not recognizing the hard drive.
    Sluggish loading of applications.
    System freezes and hangs.
    An interesting site - Hard Drive Sounds by drive manufacturer.
    How much hard drive space do you have left?
    Disk Inventory X
    OmniDiskSweeper
    WhatSize
    SpaceControl
    Disconnect all peripherals from your computer. Boot from your install disc & run _*Repair Disk*_ from the utility menu. To use the Install Mac OS X disc, insert the disc, and restart your computer while holding down the C key as it starts up.
    Select your language.
    Once on the desktop, select Utility in the menu bar.
    Select *Disk Utility.*
    Select the disk or volume in the list of disks and volumes, and then click *First Aid.*
    Click _*Repair Disk.*_
    Restart your computer when done.
    Repair permissions after you reach the desktop-http://docs.info.apple.com/article.html?artnum=25751

  • CS4 problems copying and pasting masked items

    The problem: Copying and pasting a placed image combined with other Illustrator art with multiple gausian blurs that have been masked/grouped. Placed image type does not matter. PDF, JPG, TIFF, etc placed in Illustrator CS4 (or 3). Some images are complex and others are not.
    What happens: After copying and pasting, the masked (grouped) image breaks apart into separate components that are no longer masked/grouped. Happens with different files with different images on different computers. WIth or without text in document. Sometimes image pastes correctly but most times it does not.
    Hardware/OS: 3 separate iMacs (20" and two 23") all with intel chips but different processing speeds. All running latest and most updated version of Leopard. All with 4 MB Ram and more than a 100 GB of free hard drive space.
    Software: Illustrator CS4 (latest update) and CS3 on one of the 23" iMacs.
    Solutions tried so far: Ran Onyx, repaired permissions, scripts, cleaned caches, zapped PRAM and on one iMac, ran Disk Warrior. Tried in Safe boot mode and tired with a new user account. Created new files with new images and tried old files. Tried opening files from the server and from the desktop. Threw out illustrator prefs and emptied trash.
    Thought it may have to do with font conflicts but some files don't have fonts. Turned off font management programs (Suitcase on one iMac, Font Explorer Pro on others, all updated to latest version) and restarted so only system fonts loaded. No luck. Turned on fonts used in various documents, still no luck.
    Thought it may have to do with memory issues after copying masked items. Sometimes the copied image would paste correctly and then the next time I pasted it, it would not. Before pasting a second time I would copy a small item (to clear the memory) and then paste it and then recopy the masked item and paste that. Still no luck.
    Checked activity monitor but nothing looks to be a memory hog or out of place. Happens on all three iMacs and while the OS and Illustrator are common to all three, Fonts and font management tools are not. No weird plug-ins or third party extensions installed. Plus it happened in safe boot mode so all extraneous fonts and such should have been deactivated.
    Curiously, if I drag copy the masked item using the option key, the masked item copies fine. I know this can be used as a work-around but I would like to resolve this as sometimes the designers need/want to use command-c/command-v.
    Not sure what else to try. Any thoughts would be greatly appreciated. Thanks you.

    This might work, this might not. I have copy paste problems
    on a regular basis and all that works for me is closing Captivate
    down and then re open and continue. At worst, a reboot tends to
    solve this glitch in my experience.
    Good Luck

  • Java update 6 causing constant permission errors

    Hi Folks
    I was looking for a little more experienced thoughts about the numerous persistent permission errors caused by the last java update for apple's software update. I've read forum articles that says it's OK to ignore them. And the Apple Support KB page that list the dozens of errors that can be safely ignored. But it just doesn't feel right. I'm tempted to revert to a pre java update backup version of the OS, that repair permissions gave a clean bill of health to it's screen. My question is; By not updating java Do I have more risk than by running with all the constant errors caused this update in file permissions? In trying to learn more about java I found among other things these snippets from Boutell.Com
    However, most people do not have Java applications on their computers these days, and most websites useFlash instead of Java for the interactive features that used to be commonly written in Java.
    Removing Java on MacOS X
    Removing Java on MacOS X is not recommended as Apple has made Java a standard part of the operating system and may rely on it to a greater degree than a typical Windows system.
    What you should NOT do
    Either update Java, or remove it. Do not refuse the updates. That gives you the worst of all possible worlds: a buggy old version of Java that might be exploited by
    maliciously coded web pages.
    Just  wondering what others thought about this. And just how useful is java these days?  Is it true Java has been dropped from OS 10.7? Hopefully, Flash is on the way out too.
    Well thanks for considering this.
    Paul
    Here is the list of errors encountered every time the repair permissions script is run;
    Repairing permissions for “Macintosh HD”
    Permissions differ on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/dt.jar", should be lrwxr-xr-x , they are lrw-r--r-- .
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/dt.jar".
    Permissions differ on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar", should be lrwxr-xr-x , they are lrw-r--r-- .
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar".
    Permissions differ on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jconsole.ja r", should be lrwxr-xr-x , they are lrw-r--r-- .
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jconsole.ja r".
    Permissions differ on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/management- agent.jar", should be lrwxr-xr-x , they are lrw-r--r-- .
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/management- agent.jar".
    User differs on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib", should be 0, user is 95.
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib".
    Permissions differ on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/dt.jar", should be -rw-r--r-- , they are -rwxr-xr-x .
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/dt.jar".
    Permissions differ on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jce.jar", should be -rw-r--r-- , they are -rwxr-xr-x .
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jce.jar".
    Permissions differ on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/management -agent.jar", should be -rw-r--r-- , they are -rwxr-xr-x .
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/management -agent.jar".
    Permissions differ on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/security/b lacklist", should be lrwxr-xr-x , they are lrw-r--r-- .
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/security/b lacklist".
    User differs on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries", should be 0, user is 95.
    Repaired "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries".
    Permissions differ on "System/Library/Java/Support/Deploy.bundle/Contents/Home/lib/security/cacerts", should be lrwxr-xr-x , they are lrw-r--r-- .
    Repaired "System/Library/Java/Support/Deploy.bundle/Contents/Home/lib/security/cacerts".
    Permissions differ on "System/Library/Java/Support/Deploy.bundle/Contents/Resources/Java/deploy.jar", should be lrwxr-xr-x , they are lrw-r--r-- .
    Repaired "System/Library/Java/Support/Deploy.bundle/Contents/Resources/Java/deploy.jar".
    Permissions differ on "System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPluginCocoa.b undle/Contents/Resources/Java/deploy.jar", should be lrwxr-xr-x , they are lrw-r--r-- .
    Repaired "System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPluginCocoa.b undle/Contents/Resources/Java/deploy.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/dt.jar", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/dt.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jconsole.jar ", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jconsole.jar ".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/management-a gent.jar", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/management-a gent.jar".
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib", should be 95, user is 0.
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/dt.jar", should be lrwxr-xr-x , they are -rw-r--r-- .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/dt.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/jce.jar", should be lrwxr-xr-x , they are -rw-r--r-- .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/jce.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/management- agent.jar", should be lrwxr-xr-x , they are -rw-r--r-- .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/management- agent.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/security/bl acklist", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/security/bl acklist".
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries", should be 95, user is 0.
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle", should be drwxr-xr-x , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle/Contents/Resources/Java/deploy.jar", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle/Contents/Resources/Java/deploy.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle/Contents/Resources/Java/libdeploy.jnilib", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle/Contents/Resources/Java/libdeploy.jnilib".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Home/lib/security/cacerts", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Home/lib/security/cacerts".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Resources/Java/deploy.jar", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Resources/Java/deploy.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Resources/Java/libdeploy.jnilib", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Resources/Java/libdeploy.jnilib".
    Permissions repair complete

    I don't see those errors, but Disk Utility cannot fix anything related to symbolic links, so all I can recommend is to ignore them. Your other option is to reinstall the OS and then run Software Update, after making a bootable backup/clone.

  • Need help with .asp Virtual Includes

    Hi,
    I am using;
    Dreamweaver 8
    Win XP Pro
    IIS6
    Virtual Directory Information in IIS:
    Local Path: C:\Inetpub\wwwroot\hseih
    Application Name: hseih
    Execute Permissions: Scripts Only
    Configurations>Options>Enable Parent Paths: Checked
    Read, Write, Browsing, Script Secure access, log visits,
    index this source: All Checked
    Dreamweaver Site Setup Information:
    Local Root: C:\Inetpub\wwwroot\hseih\
    Links Relative to: Site Root
    Server Model: ASP/VBScript
    Access: Local/Nework
    Testing Server Folder: C:\Inetpub\wwwroot\hseih\
    URL Prefix:
    http://localhost/hseih/
    Heres the code Im using in my index.asp file, where the
    footer.asp file is in the same directory.
    <!--#include virtual="/header.asp"--> or
    <!--#include virtual="header.asp"-->
    very simple, I believe I have everything setup correctly, and
    it should work. But I receive:
    Error Type:
    Active Server Pages, ASP 0126 (0x80004005)
    The include file 'header.asp' was not found.
    /hseih/index.asp, line 10
    However, it DOES work whenI add the root directory name into
    the include path as follows:
    <!--#include virtual="/hseih/header.asp"-->
    its like there's a setup issue somewhere, where IIS is
    misinterpreting the root of my site. When Im specifying to use the
    Site Root, and also the use of the "/" in the include path - doesnt
    that specify the root directory?
    Any insight would be greatly appreciate.
    Thanks!

    You web server configuration is what ultimately drives how
    your site is set
    up and how you navigate to all of your resources, whether
    they be include
    files, images, or what have you.
    Right now, the *root* of your web site, according to your IIS
    configuration,
    is c:\inetpub\wwwroot. This translates into
    http://localhost/. If you have
    your "hseih" folder within wwwroot, then it's a virtual
    directory, or
    subfolder, of the root. In other words,
    http://localhost/hseih/. So if
    you
    had a file in the "hseih" directory called "myfile.asp", then
    the path to it
    would be:
    http://localhost/hseih/myfile.asp.
    If, on the other hand, you reconfigure the web site in IIS to
    use
    c:\inetpub\wwwroot\hseih as the root of your web site as
    described in the
    configuration information I referred to earlier, the path to
    that same file
    would be
    http://localhost/myfile.asp.
    It's all a matter of telling IIS
    where the start of your web site is.
    The Local Root Folder config in the Local Info section of
    your site
    definition tells Dreamweaver where the files reside that
    you'll be editing.
    *Typically*, this lines up with the HTTP Address config in
    the Local Info
    section of your site definition. Not always, but most of the
    time.
    *Typically*, this also lines up with the URL Prefix in the
    Testing Server
    section of your site definition. Because you've got
    http://localhost/hseih/
    set up in the URL prefix *and* "c:\inetpub\wwwroot\hseih" set
    up in the
    local root folder everything is resolving correctly, because
    technically
    they're the same location. But, the thing to remember is
    "hseih" is a
    virtual directory within the site, it's not the root of the
    site (which is
    one level up from there).
    Any configuration URL that you set in your Dreamweaver site
    definition is
    pretty much there to tell Dreamweaver where to find things
    when it creates
    your preview pages, and other similar tasks. It's mostly
    there to make sure
    it builds links and references correctly for those functions.
    Once you have
    a grasp on those two items and know where the separate of web
    server and
    design tools occur, it makes a lot more sense.
    When you're working locally, which it sounds like you are,
    things are
    generally easier to configure because the local and remote
    info are the
    same. But when you begin working with outside web servers, it
    can get more
    complicated.
    Best regards,
    Chris
    "fmeenz" <[email protected]> wrote in
    message
    news:[email protected]...
    > chris -
    >
    > just reading your 2nd post about making the IIS root
    directory 'hseih'
    >
    > currently, my IIS local path for my virtual directory is
    set to
    >
    > Local Root: C:\Inetpub\wwwroot\hseih\
    >
    > is that not correct?
    >
    > when i browse
    http://localhost/hseih/ i do in
    fact see my index.asp page.
    > Its
    > the include files that arent working correctly. I am
    under the assumption
    > that, by adding a "/" to any reference -- link, image,
    include -- it
    > should
    > first start from the root of the site and pull from
    there. From what I
    > understand, I have set the root of my site to the hseih
    directory. please
    > correct me if im wrong.
    >
    > thanks
    > eric
    >
    >

  • Getting an Error WIJ20002 while trying to create a webi report in infoview

    Hi,
    We are getting an error " The Webintelligence Report Panel cannot connect to the server.Close the report panel and try to connect again or see your Business Objects Administrator ( WIJ20002)" only for a single universe.
    Please suggest how can we fix this error.
    Regards
    Chaitanya

    I am giving you couple of scenario based on which this error might occur.I include below a selection of what would seem to be the more relevant ones in your case. Please review these and try the suggested solutions and then let us know the outcome in each case.
    Scenario1:
    When creating a new document based on linked universes in InfoView 6.5.x, the following error message appears:
    "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error: WIJ 2002)."
    When you click on details, the following error message appears:
    "java.lang.IllegalStateException: Cannot load DS; no ID set
    at com.bo.wp.om.OMDataProvider.getDataSource(OMDataProvider.java:192)
    at com.bo.wp.tc.TCMain.newDocument(TCMain.java:807)
    at com.bo.wp.tc.TCMain.initDocument(TCMain.java:649)
    at com.bo.wp.tc.TCMain.initClient(TCMain.java:1253)
    at com.bo.w.tc.thread.InitAppletRunner.run(InitAppletRunner.java:82)
    at java.lang.Thread.run(Unknown Source)"
    Resolution:
    In Supervisor, the user does not have the Import Universe right in the designer.
    Enable the Import Universe right for the user, and ensure they have rights at the user and group level.
    Scenario2:
    In BusinessObjects version 6.5, when attempting to create a new WebIntelligence report using the Java Query Panel, one of the following error messages appears:
    "The Web Intelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your Business Objects Administrator (Error: WIJ 20002)"
    or
    u201CWeb Intelligence cannot retrieve this document due to a server problem or an error in the document structure. See your Business Objects Administrator".
    Also, the bottom of the Java applet window states Launching new document.
    Resolution:
    The error messages occur because either the universe file name contains an ampersand character (u201C&u201D) in the name or the .unv or .unw files used by the Java Query Panel have become corrupted.
    To resolve the error messages
    Navigate to <installation directory>:/Business Objects/BusinessObjects Enterprise 6/nodes/<server name>/<cluster name>/universes/.
    Remove the .unv file for the derived universe.
    Navigate to <installation directory>: /Business Objects/BusinessObjects Enterprise 6/nodes/<server name>/<cluster name>/universes/<universe domain name>/ucdz.
    Remove the .unw file for the derived universe.
    Remove the ampersand character ("&") from the universe name.
    Scenario3:
    Problem:
    Error: "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error: WIJ 20002)" when you try to open the Java Report Panel.
    Resolution:
    ****CONFIGURATION*****
    WebIntelligence version 6.1b
    Windows 200 Server SP4
    IIS 5
    JDK 1.42_03
    **********SYMPTOMS******
    You try to open the Java Report Panel and you receive the following error:
    "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error: WIJ 20002)"
    *********CAUSE*************
    You do not have the correct permissions to access files from the wiasp virtual directory. The virtual directory and all sub-directories were initially configured to use "Scripts only" or "None".
    *********RESOLUTION*****
    Here are the steps to follow:
    1. Open the Internet Information Services Manager Console.
    2. Expand the "Default Web Site" and "wiasp" directories.
    3. Right-click each of the following directories, and in Properties for each, set the respective value for Execute Permissions:
    scripts = "Scripts"
    viewers = "Scripts"
    bin = "Scripts and Executables"
    classes = "Scripts"
    onlineguides = "Scripts"
    help = "Scripts"
    distribution = "Scripts" or "None"
    Scenario4:
    Problem:
    Error: "WebIntelligence Java Report Panel cannot connect to the server (WIJ 20002)" when attempting to create a new report
    Resolution:
    ****CONFIGURATION*****
    WebIntelligence 6.5.x
    **********SYMPTOMS******
    You attempt to create a new report using the Java panel based on a universe. The universe list appears as expected, but upon selecting the universe you receive an error similar to the following:
    "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (WIJ 20002)"
    *********CAUSE*************
    There is a connectivity issue to the universe and/or document domain. The universe list is still displayed because that information is cached.
    *********RESOLUTION*****
    Here are the steps to follow:
    1. Log into Supervisor as a General Supervisor.
    2. Go to Tools > Repository to open the Repository Management dialog where domain connections are listed.
    3. Test the document and universe domain connections and update where needed to establish connectivity.
    Scenario5:
    Problem:
    Error: "WIJ 20002" when launching the Java Report Panel on a Windows 2003 Server.
    Resolution:
    ****CONFIGURATION*****
    WebIntelligence version 6.5
    Windows 2003
    IIS 6
    **********SYMPTOMS******
    You launch the Java Report Panel on a Windows 2003 Server and receive the following error:
    The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your Business Objects administrator. (Error: WIJ 20002).
    *********CAUSE*************
    This error message appears because ISAPI (Internet Server Application Program Interface) extensions are disabled by default on IIS 6.
    *********RESOLUTION*****
    Here are the steps to follow to enable ISAPI extensions:
    1. Click Start > All Programs > Administrative Tools > Internet Information Services (IIS) Manager.
    2. Expand the "" beside the server name by clicking the "" icon.
    3. Select "Web Service Extensions."
    4. Select "All Unknown ISAPI Extensions" from the right pane and click "Allow."
    5. Restart the IIS web server.
    I know it's a bit long but i hope this will help you to some extent in troubleshooting WIJ2002 Error.

  • HTTP Servevice not starting up in Trex 7.0

    Hi All,
    I have installed Trex 7.0 SR1 and then applied the revision 47 on Windows 2003 SP 1 32 bit system.
    Struck with issue related to starting httpserver in the Trec Admin Tool ,status is always red there.
    When i am clicking restart, it says that restart is successful but status is red ,its not changing.
    Have gone throw lots of posts and added the IUSR_HOSTNAME in Administrator group and provided full control in TREX website SAP_TREX_00.
    Also added user IUSR_HOSTNAME in "sap" directory and provided full control.
    Added the application pool as AppPool_SAP_TREX_00
    Execute Permissions "Scripts and Ececutables"
    Application Name "Default Application "
    When i browse this site when logged to server as TRXADM user ,it throws  error that "You are not authorized to view this page"
    and while checking at  this URL "http://hostname:30005/TREXHttpServer/TrexIsapiExt.dll?cmd=PING" getting Page cann't be displayed.
    Have added all the users to IIS_WPG group.
    Pls suggest what i am missing.
    Regards
    Ajay
    P.S. During installation is asks for master password for various users ,can you tell me what are the other users created apart from SIDADM and SAPServiceSID for Trex.
    Edited by: Ajay Sandal on Sep 23, 2009 5:35 PM
    Edited by: Ajay Sandal on Sep 23, 2009 5:46 PM

    hi,
    Did you try to start the application pool in IIS manually? See Note: 917389
    But you´re using TREX 7.0? Or is it 7.1?
    Because TREX 7.1 is not supported for 32bit Windows Server OS.
    regards
    Tobias

  • Javascript to Plug-in communication in Netscape 6

    I have a JApplet that display properly in Netscape 6 (thanks to the embed tag) using the Sun plug-in 1.3.1_01a.
    But I cannot control it via Javascript.
    I've read here http://java.sun.com/products/plugin/1.3/docs/script.html that
    "This mechanism permits applets to be accessed from Javascript within Internet Explorer. Unfortunately the current Netscape Plug-in APIs do not permit scripting of Plug-ins within Netscape Navigator. However Sun and Netscape are working together to implement a new interface ("OJI") that will permit full scripting of Java Plug-in in future releases of Netscape Navigator."
    It is dated from April 2001.
    Does anybody knows if there is a solution now ?

    Your answer really confuses me.
    My applet is encapsulated in an OBJECT tag if the browser is IE, or an EMBED tag if the browser is NS. The applet has a public SetText() method.
    The problem appears when I invoke Applet's method using JavaScript, like this:
    javascript:document.applets[0].SetText()
    It works fine with IE. And not with NS (although the applet displays properply in both cases).
    What confuses me is this:
    "Netscape 6.x uses the APPLET tag" : I've tried the JavaScript:
    javascript:alert(document.applets.length)
    it says "0" ...
    And with
    javascript:alert(document.embeds.length)
    it says "1"...
    So I think NS uses the EMBED tag, not the APPLET tag.
    I'm using NS 6.2 and IE6 both with Sun plugin 1.3.1_01a
    Should I disable the plugin in NS so that it uses the APPLET tag?
    And also what is this "seamless Win32 plugin from Sun" that I've never heard of ?

  • File Labels Keep Disappearing

    i am having a constant problem with file labels disappearing
    i label a file with a certain color
    and then go to find the file a day or two later and the label has disappeared (it has reverted to being unlabeled)
    i have used onyx and run every maintenance tool (permissions, scripts, disk verify whatever) i can think of and it still happens
    any ideas here ?

    Restarting solved the problem.

  • Internal iSight - Multiple Fixes Fail

    My Macbook Pro 17" built-in iSight stopped working a few months ago. It does not appear in the system profiler under Hardware > USB at all. The USB high-speed bus is there but no iSight. Here is a list of the fixes I have tried. I post this for the many others who have experienced this problem to see. I'm still examining logs and forums for the source of this problem.
    1.) PRAM and SMC Reset
    2.) Complete Software Updates Again
    3.) Safe Mode Boot and Reset
    4.) Permissions, Scripts, etc.
    5.) Opened Computer to Examine Wiring (Behind Display and on Logic Board)
    My most recent development is from inspecting the system log file. When the computer boots there is an array of processes, however one stands out:
    +Jan 8 15:34:49 localhost kernel[0]: USBF: 0.627 [0x3eead00] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 4 of hub @ location: 0xfd000000)+
    Eventually after the process of "retrying" completes the log states:
    +Jan 8 15:34:49 localhost kernel[0]: USBF: 4.275 [0x3eead00] The IOUSBFamily was not able to enumerate a device.+
    The USB location mentioned above, "0xfd00000" is in fact the USB high-speed bus that should hold the iSight connection.
    I'm attempting to figure out where to go from here? My only guesses are that the hardware wiring is faulty and needs replacement. Otherwise this is some obscure software issue that requires a reformat and fresh OSX install. I would love to do this but I don't have a good backup or the Leopard DVD. This also prevents me from using the diagnostic startup mode but I don't really know how good that is.
    Any of you guys experienced this? Sound as strange as it appears or something I'm missing?

    You need your system install disc #1 to troubleshoot.
    Try this fix:
    1. Click on Macintosh HD on the top right of your desktop (or whatever else you’ve called your Harddrive)
    2. Click through System > Library > LaunchDaemons
    3. Now look for the file com.apple.mio.VDCAssistant.plist - and send it to trash.
    http://www.appleware.co.uk/2008/12/03/isight-camera-fix.html
    http://support.apple.com/kb/HT2090
    Suggest you take your computer to an AASP if your issue cannot be resolved.

Maybe you are looking for

  • If I take my iPhone 4 to the Apple store, will I get to trade it in for another one or....?

    My iPhone 4 was purchased in May 2012, brand new, from my local AT&T store. Since then, I've been having minor problems with it such as my messages crashing out when I open it or my phone randomly turning off and then turning back on, but that has ne

  • Find EXPORT to an IMPORT ... FROM MEMORY ID statement

    Hi! I would like to ask you, if you know an easy way to find the EXPORT command for an IMPORT ... FROM MEMORY ID ... statement. For example in the program LWDTMO01, there is the following codepart (in a SAP 4.6c):     IMPORT DYNP_INFO FROM MEMORY ID

  • Problem In The Query

    Hai All,            I have created a login form in screen painter (which contains two textbox and a login button). When login button is clicked, I want to check whether the username and password matches in the table (@EMPA). I have a problem while ch

  • IPhone Reservation and New ATT Account

    I was waiting to see reception of iPhone 4 before picking mine up later today. I am willing to take a chance and pick it up. However, I had an iPhone 3GS which I sold but had reserved the new phone with my original account. In the meantime I had port

  • Displaying images in many rows

    Hello everyone. I have images in my database that I want to display on my home page. The issue I'm having is that I want to display 7 images per row and have 2 rows. After the first 7 images are displayed, I want to start a new row automatically with