Mysterious Unix Files

Ever since upgrading to 10.4 I seem to be getting an increasing number of my files converted to Unix Executable File types. The file Icon is a black box with "exec" in the upper left corner. The files are rendered useless. What is causing these files to appear/be converted to this type?

Couldn't the problem also be that for some unknown reason the executable bit for the file has been set? I seem to remember that if the resource fork is missing AND the executable bit is set, Finder assumes the file is a UNIX executable. I believe this has happened to people who attempted to copy fonts from an OS 9 machine to a FAT 32 disk or Windows Server, and then into OS X. Instead of a font they have a UNIX executable file that does nothing at all. I think I've seen this happen with material archived to ISO 9660 CDs and then copied to OS X. While my recent pdf docs do not have the executable bit set, some of my old ones do, however they still have their resource forks and so open with Preview (my default pdf application). For example, when I do a "ls -l" command on a new pdf file, I get this:
-rw-r--r-- 1 francine francine 39449 Aug 14 2002 smug.pdf
An old file shows this:
-rwxrwxrwx 1 francine francine 120176 Apr 15 1999 2dedits.pdf
If I strip the resource fork and delete the pdf extension from that file, the Finder slaps a UNIX executable icon on it, since it no longer has a clue as to what the file it is supposed to be, and Preview will no longer open it. If I add the pdf extension back it opens in Preview just fine.
Francine
Francine
Schwieder

Similar Messages

  • Deleting the data from logical file/unix file

    Hi all.
        I need to delete the all the data from logical file (application server file/unix file).But I dont want to delete the logical file ( only data in the logical file should be deleted, i.e making file empty)
    Thanks in advance.
    Cheers.
    sami

    Hi Sami,
    Refer thsi document https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4d7aeb7d-0c01-0010-fa8a-a4a8e8968a93.
    Regards,
    Flavya

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • Unable to Open unix file in UNICODE system which created NON-UNICODE system

    Unable to Open unix file in UNICODE system which created in NON-UNICODE system
    We have two SAP systems both are ECC6.0 but System 1 is NON-Unicode and System2 is Unicode system.
    There is a common unix directory/folder for both system.
    Our requirement is to create one file on unix common folder and write the data to file from system1 .
    In system2 open the same file for appending mode to write the data .
    The file in system 1 created with below sentence.
    OPEN DATASET g_unix_file FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
    Now I have to append the data from system 2 to same file.
    I have tried to used below statement in system 2 to open the file but sy-subrc value comes as '8'.
    1> OPEN DATASET g_unix_file FOR APPENDING IN TEXT MODE ENCODING UTF-8.
    2>OPEN DATASET g_unix_file FOR APPENDING IN legacy TEXT MODE CODE PAGE
    cdp IGNORING CONVERSION ERRORS  .
    3>OPEN DATASET g_unix_file FOR APPENDING IN TEXT MODE ENCODING Default.
    4>OPEN DATASET g_unix_file FOR APPENDING IN TEXT MODE ENCODING NON-UNICODE.
    Tried out all the possibilities as per F1 help given for open dataset , but still there is problem with opn file in appending as well output mode.However the file successfully open in Input mode(Read).
    Please advice suggestion to resolve this issue.
    Thanks.

    Messgae captured as 'Permission Denied". The program gets triggered with system user Id PPID.
    How to check the security access of the User ID.

  • Files (fonts) appear as Unix files when viewing on an SMB share

    We have a UNIX server running Linux which our Mac users are connecting via SMB.  We moved our company fonts to this server from an OSX Server.  All of our machines are running 10.6.6 or later.  Very intermittantly without any rhyne or reason some users when they mount the Font share, the Fonts show up as Unix files rather than the Fonts.  On my machine (10.7) they all appear normally.  Now I know that SMB was revamped in Lion so this may be the reason I can see them no problem.  But the 10.6 machines, any suggestions on fixing this?

    Any solution on this issue? I have nearly the same exact issue in my environment, but is reversed.
    The problem we have is when saving files to the server from the Snow Leopard machine, the older Tiger machines see the fonts as unix executable files. The snow leopard machine sees the files fine and can open everything with no problem.
    This only happens when saving to a SMB server, as I can save the files from Snow Leopard to a flash drive and open on Tiger with no problems. Additionaly files saved from Tiger to the server are perfectly fine when accessing from Tiger or Snow Leopard.
    We're running Windows 2008 Server and connecting via the macs using the SMB method. Also duplicated the issue on a Windows 2003 Server.

  • Problem with special character in Unix file

    Hi All,
    Need a help here. We have unicoded our system recently.
    It's regarding a special character (umlaut) that comes through a 3rd party system to an Unix file. This gets displayed in AL11 file as # instead of ö.
    As our program picks the file from Unix, it also has the # but we want ö.
    We could have done some fixes in our code to fix if AL11 file at least had ö and we got # in our program.
    But it's the other way round. So, how can we get rid of this issue? Please suggest.
    Regards,
    Sanj.

    How Al11 is reading file ? Look for
    OPEN DATASET "yourfilename" IN TEXT MODE ENCODING DEFAULT FOR INPUT
                                  IGNORING CONVERSION ERRORS.
    If the above code is there .. you might need to play with different 'OPEN DATASET " options .
    Also look for Note 1174468 - Non-7bit-ASCII characters used in ABAP Workbench
                       Note 1227961 - Names of text fields with non-7-bit ASCII characters
    Good Luck !
    ^Saquib

  • Uploaded Files stored in Oracle 10G database or in Unix File system

    Hey All,
    I am trying to understand best practices on storing uploaded files. Should you store within the database itself (this is the current method we are using by leveraging BLOB storage) or use a BFILE locator to use the files system storage (we have our DB's on UNIX) . . .or is there another method I should be entertaining? I have read arguments on both sides of this question. I wanted to see what answers forum readers could provide!! I understand there are quite a few factors but the situation I am in is as follows:
    1) Storing text and pdf documents.
    2) File sizes range from a few Kb to up to 15MB in size
    3) uploaded files can be deleted and updated / replaced quite frequently
    Right now we have an Oracle stored procedure that is uploading the files binary data into a BLOB column on our table. We have no real "performance" problems with this method but are entertaining the idea of using the UNIX file system for storage instead of the database.
    Thanks for the insight!!
    Anthony Roeder

    Anthony,
    First word you must learn here in this forum is RESPECT.
    If you require any further explanation, just say so.
    BLOB compared with BFILE
    Security:
    BFILEs are inherently insecure, as insecure as your operating system (OS).
    Features:
    BFILEs are not writable from typical database APIs whereas BLOBs are.
    One of the most important features is that BLOBs can participate in transactions and are recoverable. Not so for BFILEs.
    Performance:
    Roughly the same.
    Upping the size of your buffer cache can make a BIG improvement in BLOB performance.
    BLOBs can be configured to exist in Oracle's cache which should make repeated/multiple reads faster.
    Piece wise/non-sequential access of a BLOB is known to be faster than a that of a BFILE.
    Manageability:
    Only the BFILE locator is stored in an Oracle BACKUP. One needs to do a separate backup to save the OS file that the BFILE locator points to. The BLOB data is backed up along with the rest of the database data.
    Storage:
    The amount of table space required to store file data in a BLOB will be larger than that of the file itself due to LOB index which is the reason for better BLOB performance for piece wise random access of the BLOB value.

  • URGENT : Writing to UNIX file problem !

    Hi friends,
    I am stuck at a crucial point while uploading a UNIX file from ABAP program.
    I am using open dataset & then transfer to...the file path.
    But when I go and check the UNIX file it is split into 2 lines (it is supposed to be a
    record with 1 line with 1500 characters) ! It shows a maximum of 255 chars in one line.Moreover,while I download to a text file via Txn CG3Y,some data are missing or truncated etc.
    Please suggest how can I create a record with 1500 characters in UNIX and download it successfully with full data or how can I ensure proper data has been transferred as the record display is truncated.I checked the program its fine,only after transferring I get the problem.
    Thanks,
    Sandip.

    The files would not get truncated. The file actually exists in App. server but you will be able to see only uptil 255 characters. You can check the same by downloading it onto Pres. server by specifying  file type as BIN when you are downloading through CG3Y

  • 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

  • Using File Adapter to transfer files from directories on unix file server.

    I have this scenario. I have a PI server on hpus45 and I want to use it to transfer files from a source directory to a destination directory on a unix file server. The unix file server is on a different box eg hpus30.
    What do I configure in SLD and Integration Directory? All the examples I have seen is transfering files from directories on the PI server but none on a different box.'
    Is it possible? I need help asap. I need to determine what the best approach is by today.

    Hi Agasthuri Doss,
    I'm using PI 7.1. I'm not seeing your instructions in ID.
    The objects in PI 71. are in this order
    Unassigned Objects
    Party
    communication component
    communication channel
    receiver determination
    interface determination
    sender agreement
    receiver agreement
    direct connection
    integrated configurations
    configuration scenario
    value mapping group.

  • External Tables to Unix File System 10G R2

    Can anyone help with setting up an external table that reads a flat file from a Unix File system.
    I have sampled a file ok and created an external table and deployed it to the database ok but it can find the link through to the unix file system to read the file.
    I created the location as an FTP type and have referenced the path to the relevant directory /oracle02/app/OWB_files when creating the location. I have placed the relevant named file in the directory but when i try to look at the table in TOAD i get the following errors
    ORA-29913 error in executing ODCIEXTTABLEOPEN callout
    ORA-29400 data cartridge error
    KUP-04040 files 121123_PENS.txt in MLCC_FILES_LOCATION_0 not found
    Does anyone have a step by step guide for creating these and am i doing some thing wrong. Is choosing the FTP type in the location correct and is the path specified correctly. I can see much information on thisin the manual!
    Your assistance would be appreciated

    HI,
    You make sure that, the path should be shared one. We can do this using samba server.
    Regards,
    Gowtham Sen.

  • How to upload pdf file format in unix file directory?

    how to upload pdf file format in unix file directory?

    Hi Karthikeyan,
    If you have PDF internal table with you, You can follow the below method to upload into Unix directory.
        DATA:file_path TYPE char100 VALUE '/usr/sap/tmp/rep_out.PDF'.
        OPEN DATASET file_path FOR OUTPUT IN BINARY MODE.
        IF sy-subrc EQ 0.
          LOOP AT it_pdf.
            TRANSFER it_pdf TO file_path.
          ENDLOOP.
        ENDIF.
        CLOSE DATASET file_path.
    Thanks
    Venkat.O

  • Allowing user to  submit unix file on selection screen.

    how to allow the user to  submit  the unix file on selection screen.
    based on that file data ,the selection screen shd be populated automatically.

    Refer Sample Code:
    constants: c_split TYPE c
    VALUE cl_abap_char_utilities=>horizontal_tab,
    c_path TYPE char100
    VALUE '/local/data/interface/A28/DM/OUT'.
    Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : rb_pc RADIOBUTTON GROUP r1 DEFAULT 'X'
    USER-COMMAND ucomm, "For Presentation
    p_f1 LIKE rlgrap-filename
    MODIF ID rb1, "Input File
    rb_srv RADIOBUTTON GROUP r1, "For Application
    p_f2 LIKE rlgrap-filename
    MODIF ID rb2, "Input File
    p_direct TYPE char128 MODIF ID abc DEFAULT c_path.
    "File directory
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_f1.
    *-- Browse Presentation Server
    PERFORM f1000_browse_presentation_file.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_f2.
    *-- Browse Application Server
    <b>PERFORM f1001_browse_appl_file.</b>
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF rb_pc = 'X' AND screen-group1 = 'RB2'.
    screen-input = '0'.
    MODIFY SCREEN.
    ELSEIF rb_srv = 'X' AND screen-group1 = 'RB1'.
    screen-input = '0'.
    MODIFY SCREEN.
    ENDIF.
    IF screen-group1 = 'ABC'.
    screen-input = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    *& Form f1000_browse_presentation_file
    Pick up the filepath for the file in the presentation server
    FORM f1000_browse_presentation_file .
    CONSTANTS: lcl_path TYPE char20 VALUE 'C:'.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_path = lcl_path
    mask = c_mask "',.,..'
    mode = c_mode
    title = text-006
    IMPORTING
    filename = p_f1
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    flg_pre = c_x.
    ENDIF.
    ENDFORM. " f1000_browse_presentation_file
    *& Form f1001_browse_appl_file
    Pick up the file path for the file in the application server
    FORM f1001_browse_appl_file .
    DATA: lcl_directory TYPE char128.
    lcl_directory = p_direct.
    CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
    EXPORTING
    directory = lcl_directory
    filemask = c_mask
    IMPORTING
    serverfile = p_f2
    EXCEPTIONS
    canceled_by_user = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE e000(zmm) WITH text-039.
    flg_app = 'X'.
    ENDIF.
    ENDFORM. " f1001_browse_appl_file
    *& Form f1003_pre_file
    Upload the file from the presentation server
    FORM f1003_pre_file .
    DATA: lcl_filename TYPE string.
    lcl_filename = p_f1.
    IF p_f1 IS NOT INITIAL.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = lcl_filename
    filetype = 'ASC'
    has_field_separator = 'X'
    TABLES
    data_tab = i_input
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    IF sy-subrc <> 0.
    MESSAGE s000 WITH text-031.
    EXIT.
    ENDIF.
    ELSE.
    PERFORM populate_error_log USING space
    text-023.
    ENDIF.
    ENDFORM. " f1003_pre_file
    *& Form f1004_app_file
    upload the file from the application server
    FORM f1004_app_file .
    REFRESH: i_input.
    OPEN DATASET p_f2 IN TEXT MODE ENCODING DEFAULT FOR INPUT.
    IF sy-subrc EQ 0.
    DO.
    READ DATASET p_f2 INTO wa_input_rec.
    IF sy-subrc EQ 0.
    *-- Split The CSV record into Work Area
    PERFORM f0025_record_split.
    *-- Populate internal table.
    APPEND wa_input TO i_input.
    CLEAR wa_input.
    IF sy-subrc <> 0.
    MESSAGE s000 WITH text-030.
    EXIT.
    ENDIF.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    ENDIF.
    ENDFORM. " f1004_app_file
    Move the assembly layer file into the work area
    FORM f0025_record_split .
    CLEAR wa_input.
    SPLIT wa_input_rec AT c_split INTO
    wa_input-legacykey
    wa_input-bu_partner
    wa_input-anlage.
    ENDFORM. " f0025_record_split
    Thanks
    Seshu

  • A mysterious audio file opens when I open my browser. How do I find and delete it?

    A mysterious audio file opens when I open my browser. How do I find and delete it?

    The other possibility is that someone with access to your machine (children?, co-worker?) set up all of your browsers to have that audio file set up as a default "home page". This is probably more likely than malware. I just tried with Safari, and it's definitely possible. Check out your Safari preferences and see what it shows as your homepage.

  • Special characters in UTF-8 UNIX file

    We have a program which downloads data from certain info-types in to the UNIX file, Fields are written to the specific position in the UNIX file. Some of the fields contains "Special Characters" in them.
    When we download the file in UTF-8 mode (encoding default) then the file display special characters correctly but the all the characters in that record gets shifted to left.
    When we download the file in ANSI mode then the file display doesn't special characters correctly but the all the characters in that record do not get shifted from their place.
    How can i find the special character in the field and accordingly i will shift the field right so that in the final UNIX file field won't shift their positions.

    Hi Ramnivas.
    Have you tried to read the characters with class: CL_ABAP_CHAR_UTILITIES (transaction SE24, label Attributes)
    For example you can see # in ABAP but in the file will be a new line or a carriage return, you can detect that an adapt it with:
    CL_ABAP_CHAR_UTILITIES=>NEWLINE or CL_ABAP_CHAR_UTILITIES=>CR_LF
    Other hand, if you are using OPEN DATASET to download the file, look at the options of encoding
    See F1 of OPEN DATASET and then encoding..
    OPEN DATASET - encoding
    Syntax
    ... ENCODING { DEFAULT
                 | {UTF-8 [SKIPPING|WITH BYTE-ORDER MARK]}
                 | NON-UNICODE } ... .
    Hope it helps
    Regards.
    Alfonso.

Maybe you are looking for

  • Bit locker issue

    Hi Everybody, When I were encrypting my external drive I disconnect cable before it finished encrypting the data. Now when I tried to open it again it ask for password or recovery key and  when I enter them return "password entered incorrect". Any su

  • Payment Difference by reason code charge to separate GL Account

    Dear All We have set reason code for payment difference with indicator charge to separate account. Also we assign separate account for each reason code in OBXL. When we try to post incoming payment with difference and assign the reason code system as

  • How do I find the Marks we all need?

    Hello all. In AE where is the "Registered" & "Trademark" symbols at? I'm creating a banner for a website and I need to put the "registered" symbol on the company's name and logo. Thanks Why_atl

  • N80 Wifi

    Hi, I seem to have problem in connecting the N80 to a Cisco AP 1232 wireless Access Point. Can't even scan and locate the AP at all from the N80. However when I use another Access Point (Linksys WRT54G) , i was able to connect the N80 with it. Both t

  • Why do new windows always open up pinned to the top left portion of my screen?

    I have disable the application frame in Photoshop CC and now all new windows open up in the top left corner of my screen BEHIND all of the brush and tool setting windows. How can I change this?