Propagating ACLs to child objects via command line

Hello,
I have ACLs enabled on a volume and am applying various ACL rules on already existing directories. I use a script to do that.
Some of these directories have sub dirs and files. The child objects do not pick that they need to inherit the rules unless I click on the "Propagate permissions" button in WGM. I have set the options 'file_inherit' and 'directory_inherit' in the parent objects.
Does anyone know how can I propagate these ACLs down to all child objects/descendants from the command line without using WGM?
I would prefer not to do it recursively if there is some other way of doing it. Thank you

Nevermind, just use -R option, duh

Similar Messages

  • Setting IIS W3C Extended Log File settings via command line, registry or configuration file

    I am currently in need of a way to set IIS W3C Extended Log File settings via command line, registry or configuration file.  More specifically the 'Bytes Sent (sc-bytes)' and 'Bytes Received (cs-bytes)' settings that are not enabled by default. 
    If anyone knows where I can locate these setting (outside of the GUI) for all IIS versions that would be greatly appreciated.

    I believe I have found a valid solution. You must have the WebAdministration module loaded.  I hope this helps someone.
    Use the following syntax to view current W3C fields:
    Get-WebConfiguration -filter system.applicationhost/sites/sitedefaults/logfile | select-object -expandProperty logExtFileFlags
    Use the following syntax to set W3C fields:
    Set-WebConfigurationProperty -Filter System.Applicationhost/Sites/SiteDefaults/logfile -Name LogExtFileFlags -Value "Date,Time,ClientIP,UserName,SiteName,ComputerName,ServerIP,Method,UriStem,UriQuery,HttpStatus,Win32Status,BytesSent,BytesRecv,TimeTaken,ServerPort,UserAgent,Cookie,Referer,ProtocolVersion,Host,HttpSubStatus"}

  • Add protocol args with quotes via command-line

    I am creating a small script to insert objects into the SGD databases (ENS) via command-line and perl. I have some difficulties with protocol-arguments which require quotes (").
    For example:
    /opt/tarantella/bin/tarantella object new_windowsapp --name "o=applications/cn=new_winapp" --width 600 --height 800 --protoargs "<protocol-arguments>"
    The problem comes when I need to add multiple protocol-arguments with quotes like: -dir "c:\Program Files\Application Directory"
    Can someone tell me how to add those arguments including the quotes?
    Thanks,
    Remold Krol | Everett

    Try to use the single quote ( ' )
    say, for instance
    protoargs 'dir "c:\Program Files\Application Directory" '
    That works for me.
    Regards.

  • Submit --Title via command line.

    So I'm submitting files via command line. All is working well but I need to set the Title and description on the fly from a script. so I'm attempting to use the --title and --description options. But the submission fails when I do. Anybody out there make this work on 10.6.4? Example below.
    podcast -s my.server.com -u user -p password --submit --file /path/to/file --workflow "Workflowname" --title "my new podcast --description "This is the Description"

    Well that's a start
    Looking at man podcast, there is not any '--title' or '--description' options on the command line, which could explain why they don't work
    It looks like podcast expects this data to be passed in via a metadata .plist file.
    Here's the example from man podcast:
    podcast --server myserver.example.com --user username --pass password
    --submit --file /path/to/file --workflow 'Workflow1' --metadata
    /path/to/metadata.plist
    where the file /path/to/metadata.plist should look something like (again, taken from man podcast:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>Author</key>
        <string>Professor Rick Hathaway</string>
        <key>Comment</key>
        <string>Strangely, things fall together. Sorry Yeats.</string>
        <key>Copyright</key>
        <string>Copyright (c) 2007 Vox Clamantis College</string>
        <key>Description</key>
        <string>Gravitation is a phenomenon through which all objects attract each other.</string>
        <key>Keywords</key>
        <string>gravitation phys13</string>
        <key>Title</key>
        <string>Lecture 4 -- The theory of gravitation</string>
      </dict>
    </plist>

  • Error -402 upon installing an extension via Command Line

    When I try to install my extension via command line, i receive the following error message:
    "Failed to install, status = -402!"
    What does this error code -402 mean?
    I found someone with a similar problem in the forums: Re: Extension Manager CC failed to install extension
    He/She had file names containing non-ASCII characters. But i couldn't find any non-ASCII characters in my project or extension.
    Thanks in advance,
    Andreas

    Hi Carl,
    unfortunately unchecking the option did not work. This is what I found in the logs:
    ExManCoreLibrary.log:
    [Debug] Thu Oct 09 09:01:03.891 2014 (SignatureValidator.cpp, 48) -CSignatureValidator::verifySignature: Begin to validate signature /var/folders/yw/dnnpmtmn2xldzzs62gkq_lhm0000gn/T/tmp8212baaaaa
    [Debug] Thu Oct 09 09:01:03.924 2014 (SignatureValidator.cpp, 68) -CSignatureValidator::verifySignature: End to validate signature /var/folders/yw/dnnpmtmn2xldzzs62gkq_lhm0000gn/T/tmp8212baaaaa
    [Error] Thu Oct 09 09:01:03.924 2014 (SignatureValidator.cpp, 105) -CSignatureValidator::verifySignature: ZXPSign_verify() failed for "/var/folders/yw/dnnpmtmn2xldzzs62gkq_lhm0000gn/T/tmp8212baaaaa", sign_status is 50!
    [Error] Thu Oct 09 09:01:03.924 2014 (ExtensionBase.cpp, 170) -CExtensionManager::validateExtension: CSignatureValidator::verifySignature() failed for "/var/folders/yw/dnnpmtmn2xldzzs62gkq_lhm0000gn/T/tmp8212baaaaa", status is -402!
    [Error] Thu Oct 09 09:01:03.924 2014 (ExtensionBase.cpp, 607) -CExtensionBase::install: validateExtension() failed for zxp /Users/******/Desktop/plugin.zxp, status = -402!
    log0.log:
    10/9/2014 09:01:03.622 [INFO] com.adobe.exman.controller.InstallExtensionCommand execute(), InstallExtensionCommand is executed.
    10/9/2014 09:01:03.624 [INFO] com.adobe.exman.controller.session.composite.CompositeUpdateSession initiate()
    10/9/2014 09:01:03.624 [INFO] com.adobe.exman.controller.NotifyOperationBeginEndCommand execute(), NotifyOperationBeginEndCommand is executed.
    10/9/2014 09:01:03.625 [DEBUG] com.adobe.exman.controller.gateway.ExternalGateway ###call2extensionMgr airNotifyOperationBeginOrEnd,29,install,1,0
    10/9/2014 09:01:03.625 [INFO] com.adobe.exman.view.ExManApp handleNotification(), got notification: NOTIF_ACTION_BEGIN
    notification body: [object ActionBeginParameter]
    10/9/2014 09:01:03.625 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.625 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_ACTION_BEGIN
    10/9/2014 09:01:03.625 [INFO] com.adobe.exman.ExManGUI canAcceptUIInput(), set to: false
    10/9/2014 09:01:03.626 [INFO] com.adobe.exman.controller.AppWinOperationCommand execute(), AppWinOperationCommand is executed. notification=APPWIN_MODALDIALOG_POPUP
    10/9/2014 09:01:03.626 [INFO] com.adobe.exman.controller.gateway.ExternalGateway ###appWinOperate(), sessionId: 30, opCode=10, mouseX=0, mouseY=0
    10/9/2014 09:01:03.626 [DEBUG] com.adobe.exman.controller.session.composite.CompositeRollBackSession CompositeRollBackSession: executeNextSession()+++
    10/9/2014 09:01:03.627 [DEBUG] com.adobe.exman.controller.session.composite.CompositeRollBackSession CompositeRollBackSession: supper.executeNextSession
    10/9/2014 09:01:03.627 [DEBUG] com.adobe.exman.controller.session.composite.CompositeSession executeNextSession: run a frontend session
    10/9/2014 09:01:03.628 [INFO] com.adobe.exman.controller.session.frontend.FrontendInstallExtensionSession initiate()
    10/9/2014 09:01:03.628 [INFO] com.adobe.exman.controller.NotifyOperationBeginEndCommand execute(), NotifyOperationBeginEndCommand is executed.
    10/9/2014 09:01:03.628 [DEBUG] com.adobe.exman.controller.gateway.ExternalGateway ###call2extensionMgr airNotifyOperationBeginOrEnd,31,install,1,0
    10/9/2014 09:01:03.629 [INFO] com.adobe.exman.controller.session.composite.CompositeRollBackSession onChildSessionProgress() session total: 1 session lenght: 0 progress: 0 calculatedProgress: 0
    10/9/2014 09:01:03.629 [INFO] com.adobe.exman.view.ExManApp handleNotification(), got notification: NOTIF_PROGRESS
    notification body: 0
    10/9/2014 09:01:03.629 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.629 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_PROGRESS
    10/9/2014 09:01:03.629 [INFO] com.adobe.exman.view.ExManApp app got progress: 0
    10/9/2014 09:01:03.633 [DEBUG] com.adobe.exman.controller.session.backend.InstallExtensionSession initiate
    10/9/2014 09:01:03.633 [INFO] com.adobe.exman.controller.gateway.ExternalGateway installExtension(), the params to external install: sessionid=28, sourcepath= /Users/*******/Desktop/plugin.zxp
    10/9/2014 09:01:03.633 [DEBUG] com.adobe.exman.controller.gateway.ExternalGateway ###call2extensionMgr externalInstallExtension,28,/Users/*******/Desktop/plugin.zxp
    10/9/2014 09:01:03.634 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.644 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_RESET_SEARCH_BOX
    10/9/2014 09:01:03.890 [INFO] com.adobe.exman.controller.gateway.Application ###Receive airCallBack Message28,9,30
    10/9/2014 09:01:03.891 [INFO] com.adobe.exman.controller.gateway.ExternalGateway handleResponse(), parameters of handleResponse:
    sessionId= 28
    responseType= 9
    responseBody=30
    10/9/2014 09:01:03.891 [INFO] com.adobe.exman.controller.session.backend.BackendSession com.adobe.exman.controller.session.backend::InstallExtensionSession got parameters in handleResponse:
    responseType= 9
    10/9/2014 09:01:03.891 [INFO] com.adobe.exman.controller.session.backend.BackendSession responsebody 0 :30
    10/9/2014 09:01:03.891 [INFO] com.adobe.exman.controller.session.frontend.FrontendInstallExtensionSession onBackendSessionProgress(), 30
    10/9/2014 09:01:03.892 [INFO] com.adobe.exman.controller.session.composite.CompositeRollBackSession onChildSessionProgress() session total: 1 session lenght: 0 progress: 30 calculatedProgress: 30
    10/9/2014 09:01:03.892 [INFO] com.adobe.exman.view.ExManApp handleNotification(), got notification: NOTIF_PROGRESS
    notification body: 30
    10/9/2014 09:01:03.892 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.892 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_PROGRESS
    10/9/2014 09:01:03.892 [INFO] com.adobe.exman.view.ExManApp app got progress: 30
    10/9/2014 09:01:03.933 [INFO] com.adobe.exman.controller.gateway.Application ###Receive airCallBack Message28,1,-402,com.crossmedia_solutions.assetInformation
    10/9/2014 09:01:03.934 [INFO] com.adobe.exman.controller.gateway.ExternalGateway handleResponse(), parameters of handleResponse:
    sessionId= 28
    responseType= 1
    responseBody=-402,com.crossmedia_solutions.assetInformation
    10/9/2014 09:01:03.934 [INFO] com.adobe.exman.controller.session.backend.BackendSession com.adobe.exman.controller.session.backend::InstallExtensionSession got parameters in handleResponse:
    responseType= 1
    10/9/2014 09:01:03.934 [INFO] com.adobe.exman.controller.session.backend.BackendSession responsebody 0 :-402
    10/9/2014 09:01:03.934 [INFO] com.adobe.exman.controller.session.backend.BackendSession responsebody 1 :com.crossmedia_solutions.assetInformation
    10/9/2014 09:01:03.937 [INFO] com.adobe.exman.controller.session.frontend.FrontendInstallExtensionSession onBackendSessionFail()
    10/9/2014 09:01:03.938 [INFO] com.adobe.exman.controller.NotifyOperationBeginEndCommand execute(), NotifyOperationBeginEndCommand is executed.
    10/9/2014 09:01:03.938 [DEBUG] com.adobe.exman.controller.gateway.ExternalGateway ###call2extensionMgr airNotifyOperationBeginOrEnd,32,install,0,0
    10/9/2014 09:01:03.938 [DEBUG] com.adobe.exman.controller.session.composite.CompositeSession notifySuperSessionFail: set LASTSESSION FAILED
    10/9/2014 09:01:03.938 [INFO] com.adobe.exman.view.ExManApp handleNotification(), got notification: NOTIF_ACTION_FAIL_WITH_PARENT_SESSION
    notification body: [object SessionCompleteParameter]
    10/9/2014 09:01:03.939 [DEBUG] com.adobe.exman.view.ExManApp @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    10/9/2014 09:01:03.939 [DEBUG] com.adobe.exman.view.ExManApp NOTIF_ACTION_FAIL_WITH_PARENT_SESSION
    10/9/2014 09:01:03.939 [ERROR] com.adobe.exman.view.ExManApp null extension!
    10/9/2014 09:01:03.939 [INFO] com.adobe.exman.view.ExManApp onSessionCompleteFail()
    10/9/2014 09:01:03.940 [INFO] com.adobe.exman.view.ExManApp onActionFailHelper()
    10/9/2014 09:01:03.940 [INFO] com.adobe.exman.ExManGUI canAcceptUIInput(), set to: false
    10/9/2014 09:01:03.940 [INFO] com.adobe.exman.controller.AppWinOperationCommand execute(), AppWinOperationCommand is executed. notification=APPWIN_MODALDIALOG_POPUP
    10/9/2014 09:01:03.941 [INFO] com.adobe.exman.controller.gateway.ExternalGateway ###appWinOperate(), sessionId: 33, opCode=10, mouseX=0, mouseY=0

  • How can I install on Windows remotely via command line?

    Hello Folks.
    I want to install an application on Windows remotely and via command line, For example, I need a tool like Psexec or WMIC but I don't like the user understand it. Any idea? 

    Hi,
    Please also refer to following FAQ article and check if those four general ways will meet your requirement.
    [Forum FAQ] How to deploy applications remotely
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to merge multiple documents via command line (Adobe Acrobat Pro 9.3.2)?

    I'm searching solutions to merge multiple documents (all stored in one folder) via command line or batch file to a single PDF-File...
    Is there a way to do this?
    Finaly I want to control this from a application written in MS-Access. So, perhaps there are some features already integrated in Access to do this?
    Thanks for answer!

    If you have some programming experience you could probably do this using VBA from within MS Access to control Acrobat via OLE.
    Lots of examples on the Web.
    Hope this helps

  • Adobe Reader 11 (XI) won't open file via command line

    Hello,
    I have posted this question to probably inapropriate topic earlier today, so I am repeating it again.
    I installed newest Adobe Reader XI today and when I tried to open certain pdf file via command line, it reported a syntax error. Now, this syntax worked so far on versions 9 and 10  (I checked today with them and it is working), so my question is - where can I find new syntax, if there is any? Googling didn't help. Or what else could wrong?
    In previous versions I was able to open pdf file (on page 5) like this (all was taken from Help file "Open parameters")
    "CompletePathToAdobeReader"/A"page=5""CompletePathToPDF",
    ie
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"/A"page=5""d:\V2\DataSheet.pdf"
    but now - not that it doesn't open specific page, but it doesn't want to open file at all.
    edit:
    Operating systems running: Windows 7, Windows XP
    Thank you.
    Message was edited by: v604

    Yes, it reported correctly becuase there is a syntax error in your command. Try spaces between the /A switch and open parameter. Try this:
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /A "page=5" "d:\V2\DataSheet.pdf"
    Hope this helps.
    -Sumit

  • How to turn off Bluetooth adapter via command line or script?

    I'm trying to write a batch script that will be able to turn on/off any connected Bluetooth adapters.
    In the "Bluetooth Settings" window, how can I change the "Turn off Bluetooth adapter" setting via command line or script?
    Due to my account not being verified yet, I cannot post a screenshot.  I will update this thread as soon as my account is verified.

    get-service -DisplayName 'Bluetooth Support Service' | Stop-Service
    ¯\_(ツ)_/¯

  • How to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

  • How do I get LR2 to "load from device" via command line?

    Hi,
    how do I get LR2 to "load from device" via command line?
    I've got XP to load LR2 when a "camera" (and only a camera) is connected but really cool would be if LR2 would also import the pictures.
    cu,
    Michael

    1. Make sure you are using IOS 7.
    2. Make sure your iPad is register in My Support Profile.
    https://supportprofile.apple.com/
    3. Try downloading again; it should be free.

  • [SOLVED] How to Crop an MP4 Video via Command-line?

    I have ffmpeg, mpg123, and mencoder. Does anyone know of a way I could use any of those to crop an mp4 video via command-line? I am trying to take off the black space above and below a video. Thanks in advance!
    Last edited by tony5429 (2009-04-12 00:12:57)

    I don't think it's possible to crop without re-encoding, but you can crop from the command line with ffmpeg and mencoder. Not sure about mpg123 - I think that's for playing audio but I could be wrong there.
    Anyway, with ffmpeg you can do cropping by using -croptop, -cropbottom, -cropleft, and -cropright. So if you wanted to crop 16 pixels off of the top and the bottom, your command line would look something like this:
    ffmpeg -i <input file> -croptop 16 -cropbottom 16 <video encoding options> <audio encoding options> <output file>
    With mencoder you use the "crop" video filter, like this:
    mencoder <input file> -o <output file> -vf crop=320:208:0:16 <other options>
    where the "320:208:0:16" means that the resulting picture is 320 pixels wide, 208 pixels high, and the 0:16 is the x,y position of the cropped area.
    These command lines are just really very basic examples - ffmpeg and mencoder have a LOT of options. Way too many to explain here. If you don't believe me, just try reading through the mencoder man page sometime. (There's an online version of it at: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html)
    Hope this helps!!

  • Turn on "Real-time preotection" via command line

    Hello!
    We have a cient without networking resources and I need to turn on the "Real-time protection" which is currently in OFF state.
    How can I do that via command line?
    I tried to review the "mpcmdrun" command but did not found proper switch to turning on this service.
    Regards, 
    Tamas

    You could do a regedit command to silently import a .reg file with the setting in it:
    create a .reg file from the following key:
    HKLM\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection
    Name: DisableRealtimeMonitoring
    Type: REG_DWORD
    Data: 0
    Then import it silently with this command:
    regedit /s C:\ExamplePath\Example.reg
    You could also do a PowerShell command:
    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection' -Name DisableRealtimeMonitoring -Value 0

  • How to see via command line blocked mails

    Im having a problem...i have a C100 Ironport appliance and i want to know via command line, how to grep and see mails that never went delivered.
    For example...i know that someone, like [email protected] send to my exchange server an email...but in exchange never entered. So i assume that it was filtered by Ironport.
    I go to the command line, use grep and 13 and search for [email protected] and i see something like this
    Wed Apr 18 14:17:54 2007 Info: MID 3977209 ICID 8813638 From: <pedro>
    Wed Apr 18 14:18:44 2007 Info: MID 3977209 ready 3019672 bytes from <pedro>
    I see that 2 mails came from pedro....so i want to see what happened to them...they were bounced? rejected? Delivered?
    I dont have any email in the local quarantine... and i want to know how to track what happened to those emails that never entered to my exchange server.
    Is there any command?
    Than you!

    Wanted to add that you can shortcut the "grep" process by putting everything on one line.
    grep -i "Mid 3977209" mail_logs
    grep -i "ICID 8813638" mail_logs
    grep -i "From: " mail_logs
    basically
    grep -i "pattern" mail_logs
    -i ===> ignore case
    Im having a problem...i have a C100 Ironport appliance and i want to know via command line, how to grep and see mails that never went delivered.
    For example...i know that someone, like [email protected] send to my exchange server an email...but in exchange never entered. So i assume that it was filtered by Ironport.
    I go to the command line, use grep and 13 and search for [email protected] and i see something like this
    Wed Apr 18 14:17:54 2007 Info: MID 3977209 ICID 8813638 From:
    Wed Apr 18 14:18:44 2007 Info: MID 3977209 ready 3019672 bytes from
    I see that 2 mails came from pedro....so i want to see what happened to them...they were bounced? rejected? Delivered?
    I dont have any email in the local quarantine... and i want to know how to track what happened to those emails that never entered to my exchange server.
    Is there any command?
    Than you!

  • Insert a Child Object via WS 2.0

    Hi Everyone,
    Could someone please guide to Insert a Child Object via WS 2.0.
    Any snippet / code would be highly appreciated.
    Thanks in advance.
    Regards

    Below SOAP Message deplicts the information requested
    <soapenv:Body>
    <ns:AccountInsert_Input>
    <data:ListOfAccount>
    <data:Account>
              <data:Id>AAPA-480SXV</data:Id>
    <data:ListOfNote>
    <data:Note operation="insert">
    <data:Subject>Notes Testing</data:Subject>
    <data:Description>Note Testing</data:Description>
    </data:Note>
    </data:ListOfNote>
    </data:Account>
    </data:ListOfAccount>
    </ns:AccountInsert_Input>
    </soapenv:Body>
    Regards,
    Deepak H Andeli

Maybe you are looking for