Find the answer to your Linux question:
Results 1 to 3 of 3
Hi Experts, I log as root and create a directory for oracle in Linux redhat 5. my steps as 1) root user cd to /u01/app/oracle/product/10.2.0/db_1 2) mkdir data cd data ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    3

    Thumbs down change directory owner and permission

    Hi Experts,

    I log as root and create a directory for oracle in Linux redhat 5.
    my steps as
    1)
    root user cd to
    /u01/app/oracle/product/10.2.0/db_1
    2)
    mkdir data
    cd data
    mkdir EXPORTS
    3)chown -R oracle:oinstall /data/EXPORTS
    or chmod g+rw /data/EXPORTS

    chmod ugo+rwx /data/EXPORTS

    4) log by oracle and check permission ls -l

    as
    drwxr-xr-x 3 root root 4096 Jul 17 10:18 data

    How do I chang owner and full persion to oracle ?

    Thanks
    jimmy

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    Welcome to forums!

    chown -R oracle:oinstall /data/EXPORTS

    This will chown /data/EXPORTS

    NB! it will do it in root of your computer, not in directory you are in! And it will not chown /data.

    After your step 1 do:

    chown -R oracle:oinstall data

    Or with absolute path from anywhere:

    chown -R oracle:oinstall /u01/app/oracle/product/10.2.0/db_1/data

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    3
    Hi Segfault,

    Thanks for your help!. It works.
    Nice weekedn
    JImmy

Posting Permissions

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