File access Permission numeric value 640

Hi,
   I am picking up the files from one ftp directory. The file has access permission with value 640. When I am connecting to FTP Server with user id & passwrd I can move the files from from the directory to Arch directory. But  when I am testing this with XI it is showing error in Adapter monitoring as "FTPEx: 11260001.bwh: The file access permissions do not allow the specified action".Any suggesting on this.
Regards,
Daniel.LA

Check this and this should solve your problem
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https:///message/589420#589420 [original link is broken]

Similar Messages

  • Problem with default file access permission

    Hi,
    I am accessing a common area '/NFS_DATA' by both my java and oracle codes by the users 'javaUsr' and 'oraUsr' respectively.
    As per the requirement, the oracle code (oraUsr) needs to create some file in the specified location and then the java code (javaUsr) needs to update those files (created by oraUsr) with some new data.
    At present scenario the 'oraUsr' creates files with default access permission 644, which does not permit 'javaUsr' to update them.
    Constraints : I am not supposed to set umask at the .profile of 'oraUsr'.
         Execution of any shell script from oracle procedure is not permitted.
    Is it possible to specify file-system specific default file access permissions??
    Any idea to overcome this issue??

    Hi,
    I am accessing a common area '/NFS_DATA' by both my
    java and oracle codes by the users 'javaUsr'
    and 'oraUsr' respectively.
    As per the requirement, the oracle code
    (oraUsr) needs to create some file in the
    specified location and then the java code
    (javaUsr) needs to update those files (created
    by oraUsr) with some new data.
    At present scenario the 'oraUsr' creates files
    with default access permission 644, which does
    not permit 'javaUsr' to update them.
    Constraints : I am not supposed to set
    umask at the .profile of 'oraUsr'.
    Execution of any shell script from oracle
    oracle procedure is not permitted.
    Is it possible to specify file-system specific
    default file access permissions??
    Any idea to overcome this issue??You might like to try using File ACLs
    man setfacl(1)
    as oraUsr
    setfacl -s user:oraUsr:rw-,user:javaUsr:rwx,group::r--,other:---,mask:rwx file
    This way the oraUsr can not execute file
    but javausr can
    getfacl will show the ACL
    user::rw-
    user:javaUsr:rwx #effective:rwx
    group::rw- #effective:rw-
    mask:rwx
    other:---
    hope this helps a bit

  • Time Machine Backup Files Access Permission Denied

    I have a white MacBook (2.4 GHz Intel Core 2  Duo, 4GB 667 Mhz DDR2 SDRAM, 500gb internal hard drive, 1TB external Western Digital hard drive for backup) running Snow Leopard (OS 10.6.8). Due to recent problem with my iPhone and Address Book, I need to restore on my desktop the "Main Identity" folder in MS Outlook 2011. When I attempted to use Time Machine and restore this file folder, the external drive was recognized and the restoration would launch, but after about 15 seconds into the restoration on my desktop, I would then receive an error message stating that "I do not have permission" to access this file. I first attempted using the "command I" option to unlock the folder and restore. This did not work. I then launched my Disk Utility app and repaired the internal hard drive, then the external drive and rebooted the computer after each repair. Unfortunately none of these attempts worked. I did some research online and found that this is a common problem which can be resolved by going into the Terminal app and typing the proper UNIX command text to fix this problem. Below you'll find a set of UNIX text from my attempt to fix this problem. Please advise how to fix this problem.
    UNIX TERMINAL READOUT TEXT (ATTEMPT #1):
    Last login: Mon Nov 21 13:39:59 on console
    You have mail.
    Marc-Salernos-MacBook:~ marcsalerno$ cd /Volumes/Elements-1TB
    Marc-Salernos-MacBook:Elements-1TB marcsalerno$ ls -la
    total 281752
    drwxrwxr-x    13 marcsalerno  marcsalerno        510 Aug  3  2009 .
    drwxrwxrwt@    4 root         admin              136 Nov 21 13:40 ..
    -rw-rw-r--     1 marcsalerno  marcsalerno         16 Aug 18  2008 .001ff35753e3
    -rw-rw-r--@    1 marcsalerno  marcsalerno      12292 Nov 17 11:47 .DS_Store
    drwxrwxr-x     3 marcsalerno  marcsalerno        102 Dec  6  2008 .Spotlight-V100
    -rw-rw-r--@    1 marcsalerno  marcsalerno  144232616 Mar 30  2011 .SymAVx86QSFile
    drwxrwxr-x@    3 marcsalerno  marcsalerno        102 Mar  6  2009 .TemporaryItems
    drwxrwxr-x@    3 marcsalerno  marcsalerno        102 Nov 16 10:59 .Trashes
    -rw-rw-r--     1 marcsalerno  marcsalerno          0 Dec  7  2008 .com.apple.timemachine.supported
    drwxrwxr-x  6369 marcsalerno  marcsalerno     216546 Nov 21 13:35 .fseventsd
    drwxrwxr-x     4 marcsalerno  marcsalerno        136 Nov 16 15:07 Backups.backupdb
    Marc-Salernos-MacBook:Elements-1TB marcsalerno$ sudo chown 'id -un' Elements-1TB
    Password:
    chown: id -un: Invalid argument
    Marc-Salernos-MacBook:Elements-1TB marcsalerno$ sudo chmod 400 Elements-1TB
    chmod: Elements-1TB: No such file or directory
    Marc-Salernos-MacBook:Elements-1TB marcsalerno$ sudo chown 'id -un' Elements-1TB
    chown: id -un: Invalid argument
    Marc-Salernos-MacBook:Elements-1TB marcsalerno$
    ATTEMPT #2 TO USE TERMINAL APP TO FIX THIS PROBLEM
    Last login: Mon Nov 21 13:51:48 on ttys000
    You have mail.
    Marc-Salernos-MacBook:~ marcsalerno$
    Marc-Salernos-MacBook:~ marcsalerno$ id
    uid=501(marcsalerno) gid=501(marcsalerno) groups=501(marcsalerno),401(com.apple.access_screensharing),204(_developer),100 (_lpoperator),98(_lpadmin),80(admin),61(l  ocalaccounts),12(everyone),402(com.apple.sharepoint.group.1)
    Marc-Salernos-MacBook:~ marcsalerno$ ls -l /Volumes
    total 8
    drwxrwxr-x  13 marcsalerno  marcsalerno  510 Aug  3  2009 Elements-1TB
    lrwxr-xr-x   1 root         admin          1 Nov 21 13:36 Mac500gb -> /
    Marc-Salernos-MacBook:~ marcsalerno$ ls -l /Volumes/MyDiskName
    ls: /Volumes/MyDiskName: No such file or directory
    Marc-Salernos-MacBook:~ marcsalerno$ echo ---------------sudo chmod -R u+X /Volumes/Elements-1TB
    ---------------sudo chmod -R u+X /Volumes/Elements-1TB
    Marc-Salernos-MacBook:~ marcsalerno$

    I have done as you suggested and clicked on the show original but I get this message " The volume cannot be found. Insert the disk or connect to the server volume and wait for it to appear on the desktop, then try again." I have the external disk already connected as that is what I am trying to recover the file from i.e. where I find the aliases. Any further suggestions. Thanks

  • Send numeric value in relative time format to text file

    Hi, I'm trying to send a numeric value to a text file (.txt). However, this value must be in Relative Time format, which is displayed correctly in my front panel but not in my text file. The text file displays  it as an integer-.
    I know that this can be achieved by sending a string instead of a numeric value, but the thing is, I'm sending other numeric values along with this one, which means ALL the data must be numeric in order for Labview to send it, since it does not seem to accept a polimorphic array of data.
    Any suggestions?

    Here the resaved Write to Spreadsheet File.vi for writing String arrays.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    Write To Spreadsheet File_String.vi ‏58 KB

  • Two strings and a numeric value to write to a measurement file

    Hi all, I need to write two string values and a number value to file. I made a basic VI showing what is needed. I figured to cheat a little by sending my time stamp to the comment node. I then converted the id string to a decimal number and merged it to my numeric value. All is great with the output in Excel, accept my ID string dropped the last two digits and replaced them with a zero. Even if I used a numeric constant with this same value, it replaces the last to with zero's. The problem seems to reside with the write to measurement file VI. If I open it directly with wordpad it saves it as 2.602189E+8. Any ideas to save these three values?   Thanks
    Gerald

    When you use one of the Express VIs, you are limited to what you can do. The Write to Measurement File expects to writing measurements (numerics) and not string constants so eveything gets converted to floating point. You could probably modify it but using the lower level file I/O functions is just as simple. Here's a modification. I put the file write inside the loop because I would assume you want every value written. With your example, you would only save the very last iteration. If you do only want to save the last result, then it can be suitably modified.
    Attachments:
    time_insert_mod.vi ‏15 KB

  • Manually add hidden Shares to Microsoft UAG File Access - You do not have permission

    Have made little progress adding hidden shares for Home Folder access, followed steps listed here
    http://itcalls.blogspot.ca/2012/10/manual-add-of-shares-to-microsoft-uag.html
    Manually entered the server and share name into "ShareAccessCfg.xml", activated the configuration once the shares showed up in file access console.
    However, our users still cannot access their Home Folder.
    Error displayed internally:
    Message displayed externally:

    We finally figured out what might be the cause, seems our hidden file shares are hosted on Windows Server 2012 R2 which uses SMB 3.02 dialect, looking into the server manager a little deeper we noticed that the shares had SMB encryption enabled which is
    not supported on server 2008 R2 / UAG...

  • ODBC Changes Precision in Numeric Values

    I have an application built in MS Access 2000 / 2003 which do inserts and updates to an Oracle database 10g.
    In some machines the numeric values are shown and treated as they are (NUMBER(7,2)), but in other machines the decimal point is not taken (23.45 is taken as 2345).
    OS is Windows XP Professional in Spanish, Access is 2003 in Spanish. I have changed regional settings in windows but nothing seems to work. ODBC Driver is lattest version from Oracle 10g.
    The machines where the application works fine have the same OS, Access version, Oracle client and ODBC connector, and same regional settings. I just can't find the difference that makes them work.
    Thanks.
    Francisco.

    Try using a dll checker to see what is different between the machines. The only one I'm familiar with is the one from Crystal Reports:
    http://support.crystaldecisions.com/communityCS/FilesAndUpdates/modules.zip.asp
    When you run this, it creates an .mdl file. Do this for each computer and it will compare the dll's being used.
    Jon

  • Creating a sound from an array of numeric values and playing it on speakers

    How do I create take a sound I have stored as an array (or could be an arraylist if needed) of numeric values (at the moment as doubles) whiten my program and output it to speakers? I am using blueJ.
    for example (0, 0.1, 0.4, 0.8, 0.9, 1, 0.8, 0.6, 0.3, 0.1, etc...) would be a very high frequency sin wave.
    Edited by: alan2here on Feb 6, 2008 11:28 AM

    I stumbled upon this thread with a question somewhat related:
    I've recorded a wave file from microphone. But what I would like is an array of numbers in the same way alan said. I'm also working on my own project involving signal processing (i'm trying to do speech recognition).
    I can't really find a nice way of getting that array of numbers. I've tried to find out how wave file stores it's data, and directly read from the File object, but i figured there should be an easier way...
    I used this code to read the sound:
    *     SimpleAudioRecorder.java
    *     This file is part of jsresources.org
    * Copyright (c) 1999 - 2003 by Matthias Pfisterer
    * All rights reserved.
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    * - Redistributions of source code must retain the above copyright notice,
    *   this list of conditions and the following disclaimer.
    * - Redistributions in binary form must reproduce the above copyright
    *   notice, this list of conditions and the following disclaimer in the
    *   documentation and/or other materials provided with the distribution.
    |<---            this code is formatted to fit into 80 columns             --->|
    import java.io.IOException;
    import java.io.File;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.TargetDataLine;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.LineUnavailableException;
    import javax.sound.sampled.AudioFileFormat;
    public class SimpleAudioRecorder
    extends Thread
         private TargetDataLine          m_line;
         private AudioFileFormat.Type     m_targetType;
         private AudioInputStream     m_audioInputStream;
         private File               m_outputFile;
         public SimpleAudioRecorder(TargetDataLine line,
                             AudioFileFormat.Type targetType,
                             File file)
              m_line = line;
              m_audioInputStream = new AudioInputStream(line);
              m_targetType = targetType;
              m_outputFile = file;
         /** Starts the recording.
             To accomplish this, (i) the line is started and (ii) the
             thread is started.
         public void start()
              /* Starting the TargetDataLine. It tells the line that
                 we now want to read data from it. If this method
                 isn't called, we won't
                 be able to read data from the line at all.
              m_line.start();
              /* Starting the thread. This call results in the
                 method 'run()' (see below) being called. There, the
                 data is actually read from the line.
              super.start();
         /** Stops the recording.
             Note that stopping the thread explicitely is not necessary. Once
             no more data can be read from the TargetDataLine, no more data
             be read from our AudioInputStream. And if there is no more
             data from the AudioInputStream, the method 'AudioSystem.write()'
             (called in 'run()' returns. Returning from 'AudioSystem.write()'
             is followed by returning from 'run()', and thus, the thread
             is terminated automatically.
             It's not a good idea to call this method just 'stop()'
             because stop() is a (deprecated) method of the class 'Thread'.
             And we don't want to override this method.
         public void stopRecording()
              m_line.stop();
              m_line.close();
         /** Main working method.
             You may be surprised that here, just 'AudioSystem.write()' is
             called. But internally, it works like this: AudioSystem.write()
             contains a loop that is trying to read from the passed
             AudioInputStream. Since we have a special AudioInputStream
             that gets its data from a TargetDataLine, reading from the
             AudioInputStream leads to reading from the TargetDataLine. The
             data read this way is then written to the passed File. Before
             writing of audio data starts, a header is written according
             to the desired audio file type. Reading continues untill no
             more data can be read from the AudioInputStream. In our case,
             this happens if no more data can be read from the TargetDataLine.
             This, in turn, happens if the TargetDataLine is stopped or closed
             (which implies stopping). (Also see the comment above.) Then,
             the file is closed and 'AudioSystem.write()' returns.
         public void run()
                   try
                        AudioSystem.write(
                             m_audioInputStream,
                             m_targetType,
                             m_outputFile);
                   catch (IOException e)
                        e.printStackTrace();
         public static void main(String[] args)
              if (args.length != 1 || args[0].equals("-h"))
                   printUsageAndExit();
              /* We have made shure that there is only one command line
                 argument. This is taken as the filename of the soundfile
                 to store to.
              String     strFilename = args[0];
              File     outputFile = new File(strFilename);
              /* For simplicity, the audio data format used for recording
                 is hardcoded here. We use PCM 44.1 kHz, 16 bit signed,
                 stereo.
              AudioFormat     audioFormat = new AudioFormat(
                   AudioFormat.Encoding.PCM_SIGNED,
                   44100.0F, 16, 2, 4, 44100.0F, false);
              /* Now, we are trying to get a TargetDataLine. The
                 TargetDataLine is used later to read audio data from it.
                 If requesting the line was successful, we are opening
                 it (important!).
              DataLine.Info     info = new DataLine.Info(TargetDataLine.class, audioFormat);
              TargetDataLine     targetDataLine = null;
              try
                   targetDataLine = (TargetDataLine) AudioSystem.getLine(info);
                   targetDataLine.open(audioFormat);
              catch (LineUnavailableException e)
                   out("unable to get a recording line");
                   e.printStackTrace();
                   System.exit(1);
              /* Again for simplicity, we've hardcoded the audio file
                 type, too.
              AudioFileFormat.Type     targetType = AudioFileFormat.Type.WAVE;
              /* Now, we are creating an SimpleAudioRecorder object. It
                 contains the logic of starting and stopping the
                 recording, reading audio data from the TargetDataLine
                 and writing the data to a file.
              SimpleAudioRecorder     recorder = new SimpleAudioRecorder(
                   targetDataLine,
                   targetType,
                   outputFile);
              /* We are waiting for the user to press ENTER to
                 start the recording. (You might find it
                 inconvenient if recording starts immediately.)
              out("Press ENTER to start the recording.");
              try
                   System.in.read();
              catch (IOException e)
                   e.printStackTrace();
              /* Here, the recording is actually started.
              recorder.start();
              out("Recording...");
              /* And now, we are waiting again for the user to press ENTER,
                 this time to signal that the recording should be stopped.
              out("Press ENTER to stop the recording.");
              try
                   System.in.read();
              catch (IOException e)
                   e.printStackTrace();
              /* Here, the recording is actually stopped.
              recorder.stopRecording();
              out("Recording stopped.");
         private static void printUsageAndExit()
              out("SimpleAudioRecorder: usage:");
              out("\tjava SimpleAudioRecorder -h");
              out("\tjava SimpleAudioRecorder <audiofile>");
              System.exit(0);
         private static void out(String strMessage)
              System.out.println(strMessage);
    }Daniel

  • Error message - BSEG-WRBTR enter a numeric value

    Hi,
    I am having a problem with loading data using a abap program that calls RFBIBL00 program and the fb01 Transaction. The process is that the user enters the data in a excel sheet, saves as a tab deliminted txt file. The abap program reads the txt file, does some processing and submits the RFBIBL00 program with the FB01 code. When I check in SM35, it shows on the "incorrect " tab. When you display the log for the process, It is displaying "Formatting error in the field BSEG-WRBTR; see next message" and "Enter a numeric value".  I am not sure where to start looking to try to correct this problem. I am tracing the abap program that submits the RFBIBL00 process and I am not finding where this is occuring. I am new to the ABAP world and I am having a hard time figuring this out. Can someone please let me know if I am proceeding in the right direction or if there is another way of solving this. I am not sure what program is generating the above error messages. If there is more information that is needed, please let me know and I will try to get it for you.
    thanks in advance for the help on this

    Hi,
    There may be two possiblities for this issue.
    1. Incorrect data passed to the field BSEG-WRBTR
    2. Check the Decemial Notation(Menu Path->System->status->Own profile and Defaults Tab). If it is diffrent with the entered amount format, then it will trigger error.
    YOu can run the Bach in the fouground by  choosing fouground radio button option in the Pop up.
    Thanks,
    Ramakrishna

  • Access custom variable value in web.xml context-param?

    My requirement or need is to access a variable value either in a class in my Model project or a backing bean in my View project. For example, one variable I need to access is an application server I am integrating with - 'testserver' or 'productionserver' - I want to be able to configure this within an external file so that I do not have to re-compile my application to change the variable.
    I was thinking about placing this variable in the web.xml <context-param> section as:
    <context-param>
    <param-name>servername</param-name>
    <param-value>testserver</param-value>
    </context-param>
    I need to access this value within a class (not a servlet) on an Application Module service method, though if needed, I could access it from a backing bean and pass it to the service method (less desirable.) Is this a good approach and how do access this variable from within a Java class including any imports I need to do (code example)?
    Thanks and Happy New Year!
    Hopefully most everyone is out spending time with friends and family versus stuck trying to complete a project like me...

    I found an example from SRDemo that provides what I was looking for:
    String serverhostaddress =
    FacesContext.getCurrentInstance().getExternalContext().getInitParameter("param-name-var-in-webxml");

  • Sql agent job getting file access denied error

    I'm not sure if this question belongs in this forum. Please move it if you want to.
    Here is my question. I have an ssis package that is running into an error at the file system task trying to move a file. The package is deployed to the catalog and I am running the package using the stored procedure
    [SSISDB].[catalog].[start_execution] @execution_id
    When I execute this stored proc in Management Studio while logged in under a sysadmin, everything works fine. But when I call the same TQL in SQL Agent job, I get a file access denied error. This has something to do with the id that is getting used
    to run the package and I am not sure how to track that down. Any help would be appreciated.
    I've check the windows permission on both the id that is running the SQL Agent and SQL SSIS Service. Both seem to have the right windows permission.

    Please see:
    http://support.microsoft.com/kb/918760

  • MaxDB KNLDIAG file access denied

    Hi,
    I'm a DBA recently assigned to support MaxDB database (ver 7.6) used by
    SAP Content Server in our windows 2003/32 bit environments.
    Initially, our windows support group granted the DBA group access to
    the files on E:\sapdb\data\wrk\CD1 where the KNLDIAG and other files
    are allocated. We were able to view the KNLDIAG file when errors
    occurred.
    However, when the database instance is placed offine and back online,
    we loose access to the KNLDIAG file, but not the other files on the
    same directory/subdirectory.
    Can you explain what is happening?
    Is MaxDB doing something behind the scenes?
    What can be done so that we don't loose access to this file?
    I would appreciate any help you can provide.
    Regards,
    Bill

    Hi Bill!
    > I'm a DBA recently assigned to support MaxDB database (ver 7.6) used by
    > SAP Content Server in our windows 2003/32 bit environments.
    > Initially, our windows support group granted the DBA group access to
    > the files on E:\sapdb\data\wrk\CD1 where the KNLDIAG and other files
    > are allocated. We were able to view the KNLDIAG file when errors
    > occurred.
    > However, when the database instance is placed offine and back online,
    > we loose access to the KNLDIAG file, but not the other files on the
    > same directory/subdirectory.
    >
    > Can you explain what is happening?
    Yes, no problem!
    > Is MaxDB doing something behind the scenes?
    Of course not - it's well documented
    Unlike Oracle MaxDB does not use the same file all the time to write out the error messages.
    Instead, with every restart the last file 'KLNDIAG' (and/or 'KNLMSG'  in more recent versions) is renamed to 'KNLDIAG.OLD'. If there is already an 'KNLDIAG.OLD' this file is gone afterwards.
    Then a new file is 'KNLDIAG' is created by the MaxDB Kernel with the default permission of the folder.
    Usually these are dictated by the Windows account that runs the MaxDB-Service.
    If you did not change this, this would be the "local systemaccount".
    On my test system this results in default permissions that allow members of "Adminstrators", "Backup Operators", "System" and of course the "Owner/Creator" to access the file.
    > What can be done so that we don't loose access to this file?
    Simple: if you want to access it via OS tools, make sure that the user is a member of the "Administrators" or the "Backup Operators" group.
    If you don't want to do that, just use the file access via the DBMGUI or DB Studio (or DBMCLI) to get access to the file.
    regards,
    Lars
    p.s.
    Maybe you didn't notice that by now - the KNLDIAG file is not simply written at the end of the file, but consists of a startup header part and a body which is cyclically overwritten.
    For any newbies I cannot overstate the importance of reading the documentation [http://maxdb.sap.com] and/or get a training for it (SAP course ADM 515 really pays of here...)

  • How do I add numeric values as text in XML??

    HI,
    So, I've developed a 3d carousel using this tutorial and the  XML, and customized the XML in Dreamweaver.
    http://www.gotoandlearn.com/play?id=33
    Now,  I've got the carousel set up exactly the way I would like, but the only  trouble, is how do I add numeric values as the text for the xml file???
    Here's an example to the working carousel and where text is loaded for each item on it.  (put your sound on mute if you don't want to hear the video)
    http://iongeo.com/collaboration_test_dev/video_arctic_imaging.html
    For  example, in my XML, if I would like the text to be "3d images", when I  export the FLA, only "d images" comes through because the numeric  values can't be added as the text for the tooltip.
    Does anyone  have any ideas?
    Here is an example of how the XML is loaded into  the .swf - the text loads great, but just not the numeric characters.
    The  same story can be said for special characters, I would like to know how  to add a "&" sign too.
    <icons>
    <icon  image="images/Subsalt_E_P_Partnerships.png" tooltip="3D Images"  content="Text Copy.">
    </icon>
    </icons>
    Any  help would be greatly appreciated.
    Thank you.

    Hi Randy,
    Thanks a lot for the reply.  Your post got me thinking that it's actually a flash problem, as the actual descriptor text shows 123,etc and "&".
    The trouble is that the icons are dynamically loaded from the XML to movie clips on the flash file.  I've asked the flash forum to see if they could take a look.
    Thanks again.
    Mike

  • Weird file renaming permission issues

    Hi!
    We have a file rename permission issue. Here is the background:
    We created a 2008 R2 DFS namespace called UserData with Read/write share permissions for Administrators, Everyone and System. UserData has been granted NTFS permissions as follows:
    Everyone (This folder only): Traverse folder / Execute files, List folder / Read data, Read attributes, Create folders / Append data
    CREATOR OWNER (Subfolders and files only): Full control
    SYSTEM (This folder, subfolders and files): Full control
    Domain Admins (This folder, subfolders and files)
    We then enabled folder redirection for users My documents folder through GPO, setting the following:
    Setting: Basic - Redirect everyones folder to the same location
    Target folder: Create a folder for each user under the root path
    \\domain\UserData
    We also unchecked Grant the user exlusive rights to documents.
    So, now to the really weird behaviour. We logged on to a Windows 7 (x64) client computer with a user who gets this GPO settings and that is not local administrator on the client. The folder is redirected as expected and we can create, delete and write to
    files in anyway we want. We can also rename files if we choose an entirely different name and if we choose a longer or a shorter file name,
    but we cannot rename the file to something with the same letters but different casing.
    Examples of what will work:
    "test" to "testing"
    "test" to "cool"
    "test" to "COOL"
    Examples of what will NOT work:
    "test" to "Test"
    "test" to "tesT"
    "test" to "TEST"
    We the get this error: "File Access Denied. You need permission to perform this action. You require permission from S-1-5-21-220..... to make changes to this file."
    Eventhough I'm pretty sure the share and NTFS permissions of the share are correctly set we have of course checked all the permissions when logged in and the user has Full NTFS control and Read/Write Share permissions.
    We have encountered the same problem on a customer company as well, with a different domain with no links to our domain what so ever. I have also seen similar problems from other people when trying to find the answer on internet. Here is an example:
    http://social.technet.microsoft.com/Forums/en/w7itprosecurity/thread/35ced5bb-ab13-4e28-8c48-7c68ce0b775c
    Anyone have any thoughts?
    /Leyan

    Resent discoveries:
    If I log onto a Windows 7 (x86) Enterprise I face the same Issues.
    If the same user logs on to one of the DFS servers holding the namespace and accesses his folder we experience
    no problems renaming files.
    Customer company states that all is working fine when user logs on to a Windows XP with SP3.
    /Leyan

  • DBMS_LOB.LOADFROMFILE causes numeric value error

    The code below causes a numeric value error when I do LOADFROMFILE. Do you have any suggestions. Thanks.
    declare
    locator bfile;
    cloblocator clob;
    buffer varchar2(1000);
    lsize integer := 0;
    amount INTEGER := 1000;
    v_filename varchar(50) := 'notify_offer_tbl';
    begin
    locator := bfilename('IDEA_DATA_DIR','notify_offer_tbl');
    insert into imsa.t_unix_logs values ('notify_offer_tbl', locator, empty_clob());
    Select fileloclob into cloblocator from imsa.t_unix_logs where filename ='notify_offer_tbl' for update;
    if dbms_lob.fileexists(locator) = 1 then
    dbms_output.put_line('Exists');
    if dbms_lob.fileisopen(locator) = 1 then
    dbms_output.put_line('open');
    else
    dbms_output.put_line('close');
    dbms_lob.fileopen(locator, DBMS_LOB.FILE_READONLY);
    lsize := dbms_lob.getlength(locator);
    dbms_output.put_line('File Length: ' || to_char(lsize));
    DBMS_LOB.LOADFROMFILE(cloblocator, locator, lsize);
    commit;
    end if;
    end if;
    DBMS_LOB.READ(cloblocator, amount, 1, buffer);
    dbms_output.put_line('File ' || buffer);
    DBMS_LOB.FILECLOSE(locator);
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('Error -- ' || SUBSTR(sqlerrm, 1, 200));
    DBMS_LOB.FILECLOSE(locator);

    Yes. The column clobcol (in the SELECT in your example) should be set to empty_clob() or already contain a CLOB, before selecting the column value into the local variable. The example in the DBMS_LOB documentation page is misleading as it does not mention this.
    Note also that it is best to use dbms_lob.getlength to establish the value for
    the amount parameter.
    Hope this helps others searching for information on this - I have spent some painful hours working this out!
    Peter

Maybe you are looking for