Permission to write into filesystem

hi,
i have an oracle sdo_georaster problem. my procedure:
CREATE OR REPLACE PROCEDURE EXPORT_GEORASTER_FILE(
RID NUMBER,
IMG_FNAME VARCHAR,
FILETYP INTEGER,
P_LEVEL NUMBER,
CA_ULX NUMBER,
CA_ULY NUMBER,
CA_LRX NUMBER,
CA_LRY NUMBER
IS
GR SDO_GEORASTER;
FINALSTRING VARCHAR(500);
FT VARCHAR(20);
CA VARCHAR(300);
PLEVEL VARCHAR(40);
BEGIN
IF FILETYP = 0 THEN
FT := 'TIFF';
ELSIF FILETYP = 1 THEN
FT := 'BMP';
ELSIF FILETYP = 2 THEN
FT := 'PNG';
ELSE
FT := 'PNG';
END IF;
IF P_LEVEL IS NULL THEN
PLEVEL := 0;
ELSE
PLEVEL := NULL;
END IF;
IF CA_ULX IS NULL AND CA_ULY IS NULL AND CA_LRX IS NULL AND CA_LRY IS NULL THEN
CA := NULL;
ELSE
CA := 'CROPAREA=('|| CA_ULX || ', ' || CA_ULY || ', ' || CA_LRX || ', ' || CA_LRY ||')';
END IF;
FINALSTRING := 'PLEVEL = ' || P_LEVEL || ', ' || CA;
SELECT GEORASTER INTO GR FROM T99_GEORASTER WHERE ID = RID;
--SDO_GEOR.EXPORTTO(GR, FINALSTRING, FT, 'FILE', IMG_FNAME, 'WORLDFILE', 'FILE', TFW_FNAME);
SDO_GEOR.EXPORTTO(GR, NULL, FT, 'FILE', 'c:\bla1', 'WORLDFILE', 'FILE', 'c:\bla1');
END;
works fine but i'm unable to write in the filesystem. after execute my procedure i get the following message:
SQL> exec EXPORT_GEORASTER_FILE(1,'c:\bla',0,0,null,null,null,null);
BEGIN EXPORT_GEORASTER_FILE(1,'c:\bla',0,0,null,null,null,null); END;
ERROR at line 1:
ORA-13463: error retrieving GeoRaster data: the Permission
(java.io.FilePermission c:\bla1.tfw write) has not been granted to MDSYS. The
PL/SQL to grant this is dbms_java.grant_permission( 'MDSYS',
'SYS:java.io.FilePermission', 'c:\bla1.tfw', 'write' )
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 17
ORA-06512: at "MDSYS.SDO_GEOR", line 3048
ORA-06512: at "RASTER.EXPORT_GEORASTER_FILE", line 45
ORA-06512: at line 1
now i connected wto ora with system (dba) and tried:
SQL> CALL DBMS_JAVA.GRANT_PERMISSION('MDSYS','SYS:JAVA.IO.FILEPERMISSION', 'C:\'
, 'WRITE' );
but i get the exception:
CALL DBMS_JAVA.GRANT_PERMISSION('MDSYS','SYS:JAVA.IO.FILEPERMISSION', 'C:\', 'WR
ITE' )
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.SecurityException: policy table update SYS:JAVA.IO.FILEPERMISSION,
C:\
SQL> CALL DBMS_JAVA.GRANT_PERMISSION('MDSYS','SYS:JAVA.IO.FILEPERMISSION', 'C:\b
la1.tfw', 'WRITE' );
CALL DBMS_JAVA.GRANT_PERMISSION('MDSYS','SYS:JAVA.IO.FILEPERMISSION', 'C:\bla1.t
fw', 'WRITE' )
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.SecurityException: policy table update SYS:JAVA.IO.FILEPERMISSION,
C:\bla1.tfw
i don't know why i get the exception. is there a problem with my java rights?
can anybody help me?
thanks a lot,
michael

hi,
i have an oracle sdo_georaster problem. my procedure:
CREATE OR REPLACE PROCEDURE EXPORT_GEORASTER_FILE(
RID NUMBER,
IMG_FNAME VARCHAR,
FILETYP INTEGER,
P_LEVEL NUMBER,
CA_ULX NUMBER,
CA_ULY NUMBER,
CA_LRX NUMBER,
CA_LRY NUMBER
IS
GR SDO_GEORASTER;
FINALSTRING VARCHAR(500);
FT VARCHAR(20);
CA VARCHAR(300);
PLEVEL VARCHAR(40);
BEGIN
IF FILETYP = 0 THEN
FT := 'TIFF';
ELSIF FILETYP = 1 THEN
FT := 'BMP';
ELSIF FILETYP = 2 THEN
FT := 'PNG';
ELSE
FT := 'PNG';
END IF;
IF P_LEVEL IS NULL THEN
PLEVEL := 0;
ELSE
PLEVEL := NULL;
END IF;
IF CA_ULX IS NULL AND CA_ULY IS NULL AND CA_LRX IS NULL AND CA_LRY IS NULL THEN
CA := NULL;
ELSE
CA := 'CROPAREA=('|| CA_ULX || ', ' || CA_ULY || ', ' || CA_LRX || ', ' || CA_LRY ||')';
END IF;
FINALSTRING := 'PLEVEL = ' || P_LEVEL || ', ' || CA;
SELECT GEORASTER INTO GR FROM T99_GEORASTER WHERE ID = RID;
--SDO_GEOR.EXPORTTO(GR, FINALSTRING, FT, 'FILE', IMG_FNAME, 'WORLDFILE', 'FILE', TFW_FNAME);
SDO_GEOR.EXPORTTO(GR, NULL, FT, 'FILE', 'c:\bla1', 'WORLDFILE', 'FILE', 'c:\bla1');
END;
works fine but i'm unable to write in the filesystem. after execute my procedure i get the following message:
SQL> exec EXPORT_GEORASTER_FILE(1,'c:\bla',0,0,null,null,null,null);
BEGIN EXPORT_GEORASTER_FILE(1,'c:\bla',0,0,null,null,null,null); END;
ERROR at line 1:
ORA-13463: error retrieving GeoRaster data: the Permission
(java.io.FilePermission c:\bla1.tfw write) has not been granted to MDSYS. The
PL/SQL to grant this is dbms_java.grant_permission( 'MDSYS',
'SYS:java.io.FilePermission', 'c:\bla1.tfw', 'write' )
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 17
ORA-06512: at "MDSYS.SDO_GEOR", line 3048
ORA-06512: at "RASTER.EXPORT_GEORASTER_FILE", line 45
ORA-06512: at line 1
now i connected wto ora with system (dba) and tried:
SQL> CALL DBMS_JAVA.GRANT_PERMISSION('MDSYS','SYS:JAVA.IO.FILEPERMISSION', 'C:\'
, 'WRITE' );
but i get the exception:
CALL DBMS_JAVA.GRANT_PERMISSION('MDSYS','SYS:JAVA.IO.FILEPERMISSION', 'C:\', 'WR
ITE' )
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.SecurityException: policy table update SYS:JAVA.IO.FILEPERMISSION,
C:\
SQL> CALL DBMS_JAVA.GRANT_PERMISSION('MDSYS','SYS:JAVA.IO.FILEPERMISSION', 'C:\b
la1.tfw', 'WRITE' );
CALL DBMS_JAVA.GRANT_PERMISSION('MDSYS','SYS:JAVA.IO.FILEPERMISSION', 'C:\bla1.t
fw', 'WRITE' )
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.SecurityException: policy table update SYS:JAVA.IO.FILEPERMISSION,
C:\bla1.tfw
i don't know why i get the exception. is there a problem with my java rights?
can anybody help me?
thanks a lot,
michael

Similar Messages

  • Write file into filesystem of fileserver

    hi,
    I must write a file into filesystem of an fileserver. Does anyone know how could I write a file in any filesystem (e.g.
    server\test\...)?
    'GUI_DOWNLOAD' doesnt work, because my program run's in batch job.
    Thanks
    markus

    Hi,
    You can download the file in application server as a background job.Kindly reward points if the sample code helps.
    PARAMETERS : p_appl RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND rad,
                 p_afile TYPE rlgrap-filename DEFAULT g_appl.
    types : BEGIN OF ty_output,
            record(362) TYPE c,    
            END OF ty_output.
    data t_output TYPE STANDARD TABLE OF ty_output.
    Local variable Declaration
      DATA l_msg(60) TYPE c.
    Opening the file for output in text mode
      OPEN DATASET p_afile FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
                                                      MESSAGE l_msg.
      IF sy-subrc NE 0.
        "Error in opening file for output
        LEAVE LIST-PROCESSING.
      ENDIF.
      LOOP AT t_output INTO w_output.
        TRANSFER w_output TO p_afile .
      ENDLOOP.
    Closing the file
      CLOSE DATASET p_afile.
      IF sy-subrc NE 0.
      "Error in closing file
        LEAVE LIST-PROCESSING.
      ENDIF.

  • IPhoto: Unable to write to library. Check that you have permission to write to the library directory

    I have been asked to submit a new thread regarding iPhoto's recent inability to write to library.
    The original thread can be found here.
    SPECS:
    Mac Mini (Mid 2011)
    OSX 10.10.2
    Seagate 4TB External HDD, formatted to Mac OS External (Journaled) (purchased 8 Feb 2015)
    Previously, "Ignore ownership on this volume" was not ticked. Now it has been selected.
    Before 30 March, iPhoto Library located on the Seagate external HDD worked fine with no errors. It was previous copied from Carbon Copy Cloner from one of my Samsung internal HDD in my Mac Mini that had a S.M.A.R.T. failure. There were errors with particular thumbnails and files (I assume had corrupted due to the internal HDD failing) but CCC did as directed and copied the entire iPhoto Library to the new Seagate external HDD.
    It seems that after installing the latest iPhoto update:
    iPhoto version 9.6.1 from the App Store (installed March 30, 2015), iPhoto no longer has "permission" to write to library when opened:
    (Could this be a program with the latest software update?)
    Upon accessing the Photo Library First Aid control panel (holding Option+Command keys and selecting iPhoto):
    And selecting the first option, "Repair Permission,"
    I still receive the error message (doesn't even start repairing photo library permissions):
    What else should I do? It won't let me "Rebuild Database" either. I have restarted the Mac Mini. I haven't tried disconnecting the external HDD. And I do not have another HDD big enough to transfer the entire iPhoto Library to see if it is my iPhoto Library that has corrupted, or the new Seagate external HDD that has decided not to play nice. Suggestions would be greatly appreciated!

    OK. I've been trying to workshop this some more.
    AFTER restarting my Mac Mini, I selected "Get Info" on this Seagate external HDD, and low and behold, "everyone" sharing & permissions was reset back to "Read Only." I attempted to move a folder into this external HDD and was as to "Authenticate" the move. So entering my Administrator password, the folder can be moved.
    I went into Disk Utility to "Verify Disk" and I now get the green text "This volume appears to be OK."
    But I am UNABLE to "Ignore ownership on this volume."
    I receive the following error message:
    The operation can't be completed. "An unexpected error occurred (error code -8076)."
    I am pulling my hair out!

  • I upgraded my OS in my Mac and now I cab't open iTunes. Error message says the iTunes library is locked, in a locked disk or I don't have permission to write.

    I upgraded my OS from Lion to Mountain Lion. After that I can't access or open Itunes anymore. Message says " Itunes library is locked, in a locked disc or I don't have permission to write permission for this file.

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Permission to write

    I have a MacBook Pro.  I have several pages and numbers documents saved to my Desktop.  Suddenly when I try to open and edit the files they all say "You don't have permission to write to the folder that this file is in."  It then directs me to make a duplicate of the file so I can edit it.  When I duplicate it, make the changes, and try to save it again, it says, "The Document could not be saved.  You do not have permission." It tells me to choose "File>Get Info" to make changes.  I have done this several times.  I tried unlocking the document.  I tried changing all the settings to "read and write" for myself, and every other user on my computer.  Nothing seems to work.  Please HELP.

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Launch the Terminal application by entering the first few letters of its name into a Spotlight search. Drag or copy -- do not type -- the following line into the window, then press return:
    chmod -R -N ~
    If you get an error message about permissions, enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • Soundtrack Pro told me I "don't have permission to write it."

    This has never happened before. Found the FX track I want, a .caf file if that makes a diferance, clicked on it to put in the Edit window, did Command 'S' to save it and this came up:
    "Couldn't save the document because you don't have permission to write it."
    All the premissions, on the top Apple Loops floders are all "Read, Write".
    This is new to me. I could 'Save Copy as.." and save it as an .aiff file to use in FCP.
    Should I stop carring about it since I CAN get a copy?
    Bounus question: Why does YouTube flag my videos for using copywrited material (and may be blocked in some countries) when all the music I use comes out of SoundTrack Pro?

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Back up all data now. Before proceeding, you must be sure you can restore your system to its present state
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    chmod -R -N ~
    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens. You’re not going to reset the password.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • "Don't have permission to write..." message?

    Since upgrading to ML, I've been getting messages when I attempt to edit the contents of some folders which read, "You do not have permission to write to the folder that the (file name) file is in." I'm the only user of my laptop, and to my knowledge never changed any of the security settings, so I'm guessing something got changed when I upgraded to 10.8.4.
    I cna't figure out when and where these permission issues are coming from.
    I'm listed as Admin in the Users & Groups; nothing is checked in the Security & Privacy panel.
    I need access to everything on.There have been a few other notices, all along the same lines. I'm assuming there's some setting or authentication that got changed in ML. What am I missing?
    tia

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • After upgrading to the latest version of itune, I get this message when trying to open itunes: "The I'tunes Library File is locked, on a locked disk, or you do not have permission to write for this file.

    After importing the latest version of itune, I now get this message:  "The I-tunes library file is locked, on a locked disk , or you do not have permission to write for this file.  How do I resolve this?

    check if you have read & write permissions for your music folder. in the finder, right-click on it and get info. unlock the little padlock (you may have to enter your admin password) and change the permission settings if necessary. next, click on the little gear-shaped icon and apply to enclosed items like so
    the important part is to apply to enclosed items !
    also, even if it seems unrelated, try the steps in this support article: iTunes: Missing folder or incorrect permissions may prevent authorization

  • 9.2.0.6 runInstaller cannot write into its own installation directory

    I would like to install the 9.2.0.6 patchset on a freshly installed 9.2.0.4_linux_x86_64 (AMD). The system is RedHat EL AS 3. I have installed j2re1.4.2_07 (because the Java brought by Oracle does not even start the VM ...) and edited the ./install/oraparam.ini to use our own JRE.
    runInstaller tells me that all system requirements are met. But - alas - OUI says that it cannot write into the directory that it created itself (tmp/OracleInstall...). The rights matrix of this directory is drwxr-xr-x oracle oinstall, even if I set umask to 0000. There are several GB free.
    The last message is
    : file or directory not found
    What is going on here (or rather what isn't)? What file is OUI looking for?
    Thanks in advance for kind replies

    Ivan,
    the rights for /tmp were already rwxrwxrwt. Even if I remove the sticky bit, the error remains. I have the strange feeling that this is not a rights problem. Do you have any idea what
    : file or directory not found
    is supposed to mean? What file is OUI looking for? Does OUI 10.1.0.3.0 check for temporary files of other OUI versions (e.g. OUI 2.2.0.18.0 bundeled with Oracle 9.2.0.4)?
    I think I will start from scratch: remove and reinstall 9.2.0.4 and then try the patch installation again.
    Frank

  • How can I write into a table cell (row, column are given) in a databae?

    How can I write into a table cell (row, column are given) in a database using LabVIEW Database Toolkit? I am using Ms Access. Suppose I have three columns in a table, I write 1st row of 1st column, then 1st row of 3rd column. The problem I am having is after writing the 1st row 1st column, the reference goes to second row and if I write into 3rd column, it goes to 2nd row 3rd column. Any suggestion? 
    Solved!
    Go to Solution.

    When you do a SQL INSERT command, you create a new row. If you want to change an existing row, you have to use the UPDATE command (i.e. UPDATE tablename SET column = value WHERE some_column=some_value). The some_column could be the unique ID of each row, a date/time, etc.
    I have no idea what function to use in the toolkit to execute a SQL command since I don't use the toolkit. I also don't understand why you just don't do a single INSERT. It would be much faster.

  • How to read from and write into the same file from multiple threads?

    I need to read from and write into a same file multiple threads.
    How can we do that without any data contamination.
    Can u please provide coding for this type of task.
    Thanks in advance.

    Assuming you are using RandomAccessFile, you can use the locking functionality in the Java NIO library to lock sections of a file that you are reading/writing from each thread (or process).
    If you can't use NIO, and all your threads are in the same application, you can create your own in-process locking mechanism that each thread uses prior to accessing the file. That would take some development, and the OS already has the capability, so using NIO is the best way to go if you can use JDK 1.4 or higher.
    - K
    I need to read from and write into a same file
    multiple threads.
    How can we do that without any data contamination.
    Can u please provide coding for this type of task.
    Thanks in advance.

  • Eventually denied permission to write in home directory

    Hello,
    My wife is using a Mid-2007, 2.4GHz Intel Core 2 Duo iMac (iMac7,1) with 6GB RAM and more than 1TB of free available HD space.  She is running Mountain Lion (10.8.3) and has administrator privileges.
    After she has been using the computer for a while (hours or days; it varies), the system eventually denies her writing privileges to folders in her own Home directory. 
    I'll give two common examples:
    She'll download a file in Safari (or iTunes), and everything appears to proceed normally until the download "finishes" at which point she receives an error message that says she doesn't have permission to write to the save location.  The download remains in her browser's download list, but the file itself "disappears".  Changing target directories (e.g. from Downloads to Desktop) makes no difference.
    TextEdit will automatically reopen upon log in, and display one or more SavedState "Untitled" documents with text in them (she uses it as a scratch pad). When she attempts to add text to one of these documents, e.g. "Untitled 8," an error appears that says she does not have permission to make changes to the document and is prompted to make a Duplicate, so she does so.  She can successfully enter text in "Untitled 8 (copy)" but when it comes time to save the file, another error is returned that claims she does not have permission to write to [whatever location].
    Only two things seem to correct this situation, neither of which are permanent. That is, it eventually happens again.
    1. She logs out and logs back in. Things will behave normally for a while.  This is a pain, of course, because she typically discovers the problem when she is in the middle on working on one or more things, and the login process is fairly slow (as are most things on this iMac since upgrading to Mountain Lion -- though better since restricting the activity of Sophos Antivirus).
    2. Repair the permissions in her Home directory:  Get Info, click the lock & enter her password, change the Privilege of Me from Read & Write to Read Only, then back to Read & Write, and finally click the gear so as to Apply to enclosed items.  Once this is finished, access is restored... until it happens again.  Funny thing about this particular procedure is that her permissions appear to be set normally at the outset, ie., Read & Write.
    Another odd thing about the download problem is that the system does not seem to have a problem writing to whatever temporary directory it uses during the downloading process. The error only comes once the file is complete.
    There does not seem to be any precipitating event that leads to this change in her permissions/access privileges.
    Repairing permissions using Disk Utility does not resolve the problem.
    Running other kinds of repairs (repair disk when booted in Recovery Mode, running Drive Genius 3 from a separate partition or from the optical media, TechTool Pro, etc.) do not resolve the problem.
    When I log in to this same computer using my account (also with admin privileges), I have yet to encounter this eventual-permission-denial problem.
    Any thoughts or recommendations are welcome, obviously.  This is driving us batty!

    Hmmm, sounded like a RAM problem until you mentioned your account doesn't do it.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • How to write 'into' a PDF-document ?

    hi there,
    i have a new small project to do with the following problem:
    i get a file (text-file) with invoices from an external system.
    I want to 'overlay' this file with a form, which is a PDF-document.
    the question is: is it possible to write 'into the PDF'-form the contents of the text-file ? if yes, how is it possible ?
    regards, Martin

    well,
    this is not what i need, sorry
    i don't want to convert the text-file into a PDF-file.
    i have an existing PDF-file (a FORM with all the overlay, like graphics, company-logo, etc....). and i have a text file. and i want to 'merge' the text into
    the pdf-file.
    regards, Martin

  • HELP!!!!!! - How to write into a file?

    How to write into a file?
    I want to make a script that will connect(not enter) to my website[for example, www.vasa.com] every time i connect to the internet.
    Now i have 3 problems:
    1. i dont know how to write into a file
    2. i dont know how to make it connect to my 'server' without entering the website
    3. i dont know what file to write it to
    so if someone can help me, please do.

    Well, how about RTFM?? In this case that can be found here:
    http://developer.java.sun.com/developer/onlineTraining/
    BTW - these things have been asked azillion times, search the forum.

  • How do I write into multiple target tables in DIFFERENT schemas?

    It is easy to have a mapping that writes into 2 or more tables it's results. I now need that all these tables are in different schemas!
    When I create a 2nd warehouse target with a 2nd location and configure this location to be a different schema on the database, validation tells me, that everything is okay.
    When I generate it, there are several warnings, when I execute it, it doesn't work :( It complains that it cannot find <something>.
    I'm sorry, I don't have the error-message at hand :(
    I've you got an idea, how I could have different schemas for my tables, please let me know!

    Art,
    Could it be that the target schema into which you install the runtime components does not have privileges on the tables in the other schemas? You have to have at least the right privileges (INSERT, UPDATE, DELETE) on the target tables in the other schemas in order for this to work. However, then there should be no reason, assuming your tables are in different modules related to different locations.
    Thanks,
    Mark.

Maybe you are looking for

  • Newbie with fill-able form distribution questions

    Please can someone help me understand a few things about creating electronic forms in LiveCyle Designer ES so our HR department can: Make the blank forms available on our Intranet Make the forms fill-able by our own employees with Intranet access and

  • Releasing of many activities at once from NWDS failed

    Hi I have created several actvities in my NWDS and checked in and actvated them. I have created a track connection from this track to the other in CMS. Now i tried to release all my actvities and my colleagues activities too at once. It give a big na

  • Managing Two iTunes Libraries on Windows 7

    Both of my parents recently got iPods.  They want to maintain seperate libraries, but only have one computer (running Windows 7).  I've set up thier libraries for them, but was wondering if there was a way to always prompt the user to select a librar

  • Offline approval: handheld device

    Dear SAP gurus, We have a requirement in which the approvers in our company will do offline approval through their handheld device. In here they dont want to logon to the system and doing approval and rejection in the system, rather they want to clic

  • Working with Dreamweaver for a BC Website

    I am creating my website in Dreamweaver CS6 and using BC to host the site. When I make a change to the file and click the 'live' button in Dreamweaver CS6, it puts the entire site. How do I change this setting so I can put the site when I am finished