Professional Web Applications Themes

how do you deal with file permissions? - Oracle Server

I have some problems with files, like alert_sid.log, it is owned by oracle:dba, I'm a member of dba group, but I can't modiy or delete alert file by default. If I change ownership of the file or bdump directory, sometimes I delete and create the file again, if I dont chown for it, then Oracle has problem to write into it. There are some other files like this, what's your solution? Thanks...

  1. #1

    Default how do you deal with file permissions?

    I have some problems with files, like alert_sid.log,

    it is owned by oracle:dba, I'm a member of dba group, but I can't modiy or
    delete alert file by default.
    If I change ownership of the file or bdump directory, sometimes I delete and
    create the file again, if I dont chown for it, then Oracle has problem to
    write into it.

    There are some other files like this, what's your solution?

    Thanks


    Terry Mu Guest

  2. #2

    Default Re: how do you deal with file permissions?

    A different solution exists for every OS.
    What are you running on?

    --

    Syltrem
    [url]http://pages.infinit.net/syltrem[/url] (OpenVMS related web site - en français)
    To reply to myself directly, remove zulu from my address

    "Terry Mu" <terry_mu> a écrit dans le message de news:
    u2nL9.131990$Q71.95217news01.bloor.is.net.cable.r ogers.com...
    > I have some problems with files, like alert_sid.log,
    >
    > it is owned by oracle:dba, I'm a member of dba group, but I can't modiy or
    > delete alert file by default.
    > If I change ownership of the file or bdump directory, sometimes I delete
    and
    > create the file again, if I dont chown for it, then Oracle has problem to
    > write into it.
    >
    > There are some other files like this, what's your solution?
    >
    > Thanks
    >
    >

    Syltrem Guest

  3. #3

    Default Re: how do you deal with file permissions?


    I deal with it by never modifying or deleting it. Only the owner,
    Oracle in our case, should touch those files. The only time it is
    modified is to reduce the size when it get's too log. Then we make a
    copy of it and remove all but the last 1000 rows or so.

    I'm not sure why you change ownership of the directories or files.
    You should never need to. Let me know if you can, I'm interested
    to hear why.

    HTH,
    Patrick

    --
    Posted via [url]http://dbforums.com[/url]
    buckeye234 Guest

  4. #4

    Default Re: how do you deal with file permissions?

    I'm on Solaris, I better off sitck with "su oracle". Chown isn't
    appropriate. I used chomod g+q for deleting tarce files.

    Thank you all.

    "Terry Mu" <terry_mu> wrote in message
    news:u2nL9.131990$Q71.95217news01.bloor.is.net.ca ble.rogers.com...
    > I have some problems with files, like alert_sid.log,
    >
    > it is owned by oracle:dba, I'm a member of dba group, but I can't modiy or
    > delete alert file by default.
    > If I change ownership of the file or bdump directory, sometimes I delete
    and
    > create the file again, if I dont chown for it, then Oracle has problem to
    > write into it.
    >
    > There are some other files like this, what's your solution?
    >
    > Thanks
    >
    >

    Terry Mu Guest

Similar Threads

  1. File permissions
    By Otis in forum Macromedia Contribute General Discussion
    Replies: 13
    Last Post: November 20th, 01:57 PM
  2. PHP file permissions?
    By Carlton Whitmore in forum PHP Development
    Replies: 1
    Last Post: January 15th, 04:11 PM
  3. Setting the file permissions of a file I'm writing to
    By Dan Anderson in forum PERL Beginners
    Replies: 1
    Last Post: December 10th, 04:13 AM
  4. FTP file permissions
    By sengstock3 in forum AIX
    Replies: 4
    Last Post: September 11th, 02:16 PM
  5. How to deal with a core file
    By Bill Campbell in forum SCO
    Replies: 4
    Last Post: June 29th, 02:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139