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
...
- 07-17-2009 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 3
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
- 07-17-2009 #2
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
- 07-17-2009 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 3
Hi Segfault,
Thanks for your help!. It works.
Nice weekedn
JImmy


Reply With Quote