Quote:
Originally posted by sajikwt
I was trying to install Oracle 11i Appliaction on USB harddisk., the steps folowed is I create a user Oracle and login with that user. But while selecting the mounted hard disk its giving a error ..permission denied to create /home/oracle/inventory directory....
Please help
|
Where is your USB hard-disk mapped to?
In order to create a directory on a filesystem, you need to have read (r), write (w) and execute (x) permissions for the parent directory. If you use
Code:
ls -ld /home/oracle
then you can see the ownership and permissions for that directory. It should say something like:
Code:
drwxr-x--- Oracle users /home/oracle/
The initial ‘d’ means this is a directory. The first three letters (rwx) means that the owning user has read,write and execute access to the directory. The next three (r-x) mean that the owning group only has read and execute access. The next three (---) mean that no-one else can access the directory. The next word is the owning user (Oracle) and group (users).
You can change the permissions with the
command, and the ownership with
You need to make sure which user is trying to create the directory. It may be that the setup for Oracle 11i will automatically set up users and run as those; see the installation instructions.
Also, please note that filenames and user-names are case-sensitive; “Oracle” is a different user from “oracle”.