Setting the UNIX file permissions after writing the file to a directory

Hi Experts,
Can we set the UNIX file permissions after writing the file to a directory using Receiver File Adpater in SAP PI 7.1 ?
Thanks in Advance.
Regards,
Jyoti

Hi
you can use the option "Run Operatiing system Command after File Processing" in the file adapter.
Thanks
Rinku Gangwani

Similar Messages

  • TS1717 I get the following error message after installing the latest version of itunes via auto update:  "the itunes Library file cannot be saved. An unknown error occurred (-54). Has anyone ever seen this message and anyone have a suggestion what to do?

    I get the following error message after installing the latest version of itunes via auto update:  "the itunes Library file cannot be saved. An unknown error occurred (-54). Has anyone ever seen this message and anyone have a suggestion what to do?

    Hi pholewinski!
    I have a couple of articles for you here that I believe will help you with this issue. The first is an article on advanced troubleshooting, and it can be found here:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    If following that article's steps doesn't take care of the issue, you can try the things listed in this article, which is about permissions issues in iTunes:
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/TS1277
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • I cannot complete an installation of ITunes.  During the install, I receive the following error message:   Error writing to file: C:\Program Files\Bonjour\dns_sd.jar.

    I cannot complete an installation of ITunes.  During the install, I receive the following error message:
    Error writing to file: C:\Program Files\Bonjour\dns_sd.jar.

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Not able save the mapping after writing the 4th UDF (in PI 7.1)

    Hi All,
    After writing the 4th UDF i am not able to save the mapping in PI 7.1, i am getting the following error "the length 3 of the array 'sortedFunctionKeys' is not equal to the number 4 of functions".
    Please let me know how to overcome this
    Regards
    Vinay P

    can you check the syntax of the UDF?
    seems there is some issue in it.
    Also sortedFunctionKeys is this part of the UDF? then make sure the logic is correct behind the code.

  • I am trying to upgrade to itunes 10.7 using windows and keep getting the following error message: "Error writing to file: C:\Config.Msi\364460.rbf   Verify access to this dierctory". Help!

    I am trying to upgrade to itunes 10.7 using windows and keep getting the following error message: "Error writing to file: C:\Config.Msi\364460.rbf   Verify access to this dierctory". Help!

    Fixed! (win7 64 bit)! Just stop your antivirus during the upgrade/installation (I've got Kaspersky).
    Good luck!

  • I am trying to open space in my macbook hard drive, so I deleted files and after emptying the trash bin the amount of Gigs didn't increase, why? Where can I go and delete those files?

    I am trying to open space in my macbook hard drive, so I deleted files and after emptying the trash bin the amount of Gigs didn't increase, why? Where can I go and delete those files?

    Did you do a secure empty trash? SHIFT COMMAND DELETE, they will be over wriiten. Are you deleting docs as they aren't much space, videos,pictures,music use much more space.
    You can move those fiels to an external "archive" drive to save them then delete them from your internal drive.

  • How to solve the problem related with inputing of the text into Wordpress from Firefox 9 and 9.0.1. The problem is that after inputing the formatting gets lost. Taking in account high popularity of Wordpress I suppose the problem is quite serious.

    How to solve the problem related with inputing of the text into Wordpress from Firefox 9 and 9.0.1.
    The problem is that after inputing the formatting gets lost.
    Taking in account high popularity of Wordpress I suppose the problem is quite serious.

    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    * [[Troubleshooting extensions and themes]]
    * Clipboard not working -> [http://kb.mozillazine.org/Clipboard_not_working]
    * Rich Text Editing -> [http://kb.mozillazine.org/Rich_text_editing]
    * Update All your Firefox Plugins -> [https://www.mozilla.org/en-US/plugincheck/]
    Check and tell if its working.
    Might not be related to your problem but some of your Plugins are out-dated
    * Update All your Firefox Plugins -> [https://www.mozilla.org/en-US/plugincheck/]
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''

  • Sometimes when using the Google search engine, after using the Back button in the Firefox 4.0.1 browser, I am no longer able to click in the Google search box.

    Sometimes when using the Google search engine, after using the Back button in the Firefox 4.0.1 browser, I am no longer able to click in the Google search box.
    This problems has been occurring on two different machines over the last two days.

    I think this may not be a browser problem but rather a Google problem.
    I am getting the same problem with the Google Chrome browser.

  • Why does the Iphone4 freeze up after downloading the IOS7.6 patch showing an ITUNE icon? The phone will not change screens for 4 hours.

    Why does the Iphone4 freeze up after downloading the IOS7.6 patch showing an ITUNE icon? The phone will not change screens for 4 hours.
    I Turn it off/on  and nothing changes.

    Hello bigboza,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more aboutrestoring iOS software.
    Have a nice day,
    Mario

  • Just bought an ipad2 but cannot find the face time application after activating the ipad2

    Just bought an ipad2 but cannot find the face time application after activating the ipad2

    FaceTime is not available in the UAE so it is not on your iPad. It is restricted there.

  • Will the penfailure be solved after changing the cartridges? Installing printer again did not help.

    Hp Print Diagnnostic Utility detected 'Pen Failure' I tried reinstalling printer driver again, checked cartridges installation for correctness, cleaned contact points but they did not help. Will the penfailure be solved after changing the cartridges? Installing printer again did not help.
    Rajein

    Yes, I did try it.
    I completely uninstalled Firefox (including personal settings, bookmarks, add-ons etc.) and then I installed Firefox 24 from scratch. The outcome is unchanged. Namely, it installs it and then right when it is about to start for the very first time, it hangs. If I run the task manager I can see the process firefox32. It shows as if it is running. But in fact it is hanging doing nothing. It is almost as if the process is waiting for something to happen and that never occurs. Note that this should not have anything to do with, say, an incompatible add-on/plug in because I had them all removed. I also removed adobe flash prior to the installation and run the malware removal program too.

  • The ipad was locked after mistyped the passcode

    The ipad was locked after mistyped the passcode, how can unlock without the PC where was activated?

    And here are Apple's instructions on how to restore.
    http://support.apple.com/kb/ht1414
    and another helpful step by step article
    http://www.ipadtomactransfer.org/ipad-tips/how-to-restore-ipad.html

  • Problem After writing the Jfree chart into pdf

    Hi All,
    I am writing the Jfreechart object with my company logo into JSP and and setting the content type as "application/pdf". I am getting the error as
    java.lang.IllegalStateException: getOutputStream() has already been called for this response.
    I have searched for it in the google as well as sun forums for so many hours and i implements so many suggested solutions but i am unable to remove the exception.
    The problem might be using response.getOutputStream() to get the output stream to in the response.
    But while debugging the code I observed that I am getting the error after complete execution of the code ie. after displaying the pdf.
    I am using JSF with JBoss portlets.
    Could any one help me in solving this problem as soon as possible..
    Thanks in advance.

    I am using the fallowing code to write into response. After execution of all the code and after displaying pdf its throughing the exception
    *OutputStream outStream = response.getOutputStream()*
    //To get the logo path from propeties file
    ResourceBundle resourceBundle = ResourceBundle.getBundle("imagepath");
                      String imagePath = resourceBundle.getString("imagepath");
                      Image image2 = Image.getInstance(imagePath);
                        image2.scaleToFit(100, 100);
                        PdfPTable pdfPTable =  new PdfPTable(2);
                        pdfPTable.getDefaultCell().setBorder(0);
                        PdfPCell cell = new PdfPCell(image2);
                        cell.setHorizontalAlignment(Element.ALIGN_LEFT);
                        cell.setBorder(0);
                        pdfPTable.addCell(cell);
                        pdfPTable.addCell("");
                      //get the Pdf writer object
                   PdfWriter     writer = PdfWriter.getInstance(document, outStream);
                       document.open();
                   document.add(pdfPTable);
                      PdfContentByte contentByte = writer.getDirectContent();
                      PdfTemplate template = contentByte.createTemplate(1200, 750);
                      Graphics2D graphics2d = template.createGraphics(600, 750, new DefaultFontMapper());
                      Rectangle2D rectangle2d = new Rectangle2D.Double(0, 0, 540, 700);
                      jfreechart.draw(graphics2d, rectangle2d);
                      graphics2d.dispose();
                      contentByte.addTemplate(template, 50, 25);
                      //setOldchartObject(chartInfoBean);
                      System.out.println("This is before closing th edocument.");
                      document.close();

  • File permissions while handling the XML in JDOM

    I have been working on setting up an email application to backup notification emails when the SMTP server is down. I backup the emails into an XML file. I am trying to figure out how to handle file permissions on the file since multiple applications could be trying to manipulate the file at the same time, hence possibly corrupting what is supposed to be there. Currently this is the code I have written which seems to work fine except that I get the document before locking the file and I am wondering if someone knows a better way to handle this. I am not too familiar with java's I/O operations so any help would be great and very much appreciated. Here is a snippet of my code....
         SAXBuilder builder = new SAXBuilder();
          document = builder.build(fileName);
          out = new FileOutputStream(fileName);
          FileChannel channel = out.getChannel();
          FileLock lock = channel.tryLock();
          createMailDocument(from, to, cc, subject, body, attachment, application, time);
          System.out.println("Writing xml");
          XMLOutputter serializer = new XMLOutputter();
          serializer.output(document, out);
          out.flush();
          out.close();

    My main problem is this part...
          SAXBuilder builder = new SAXBuilder();
          document = builder.build(fileName);
          out = new FileOutputStream(fileName);
          FileChannel channel = out.getChannel();
          FileLock lock = channel.tryLock();I setup the document before I lock the file. I am concerned that the xml structure could change before I lock the file. I am just curious whether my concerns are valid since I am fairly new to XML handling and I/O. If they are valid, I want to know if anyone has a better implementation that I could use.

  • Why firefox 3.6 downloads all of the files again after restartarting the browser from a website if the "clear history when Firefox closed" is not Enabled?

    We have a corporate website, we officially support FF3, FF4, IE8 and IE9. Our web site is quite big, so we really need browser caching, first time page load is around 15 seconds. With files in the cache getting new page is less than a second.
    Everything works perfect except with FF3. With FF4, IE8, IE9 if we are on the website, clicking everywhere is fast, the page is in the cache. If we restart the browser, it is still fast, it loads files from the cache.
    But with FF3 we have a problem. Every time we restart the browser, it is loading the files again from the server, instead of using the local cache (checked with Firebug). I can reproduce the problem anytime, it is the same with every FF3 instances. I double checked, the "clear history when Firefox closed" option is not enabled.
    Could you advise please how to use the local cache either after browser restart?
    Thank you!
    Chris

    Just read that the default memory storage on FF is set to 5 mbs. You can up that by clicking on tools, advanced and overriding the default and set it to 50 mbs (if you use lots of tabs) or 10 mbs (if you use just a few).
    I open a blank tab and clear the cache periodically, while I am working. I can have several tabs open and watch videos on Youtube, by doing this. Have you cleared your cache?
    Since I have an older computer, I've also used CCleaner for years. I use it often, but always before signing off. You can get it free...search for CCleaner, download from Pirifoam free. I didn't change any of the settings and it clears crap left behind from uninstalling programs, clears all browsers at once of: cookies, history, passwords, etc. I love it!
    I had freezing, before using the "open blank tab, clear the cache" thing. Now I have no problems. Plus, as I said...you can change the default memory usage for FF and that should help too.
    Hope this helps! Good luck! :)

Maybe you are looking for