cannot write anything - AIX

Posted on 2011-03-08
Last Modified: 2013-11-17
Hello Experts

I am not able to touch a file for a user Oracle on AIX. The filesystem has full write access for that user and is owned by that user

oracle@csc06ora03$ touch x
touch: x cannot create

Question by:mnis2008
  • 3
  • 3
LVL 68

Accepted Solution

woolmilkporc earned 500 total points
ID: 35073843
Please post the output of



ls -ld ../*
ls -ld ../../*

I suspect that one the the directories above the directory you're in doesn't have correct permissions.



Author Comment

ID: 35074196
here is the output

oracle@csc06ora03 $ id
uid=133(oracle) gid=203(dba) groups=1(staff)

oracle@csc06ora03 $ pwd

oracle@csc06ora03 $ ls -ld ../*
../*: No permission

oracle@csc06ora03 $ ls -ld ../../*
../../*: No permission

Here are the permissions on apps and oracle

drwxr-xr-x   11 root     system         4096 Feb 23 16:53 apps
drwxr-xr-x    7 oracle   dba            4096 Mar  8 13:46 oracle

LVL 68

Expert Comment

ID: 35074603
Which is your AIX version?

The error message format seems rather strange to me.

Do you manipulate the messages  - or is it not AIX?

How did you get the last two lines of output? As user Oracle?

What do you get with "mount"?

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

LVL 68

Expert Comment

ID: 35075133
... and please issue

cd /apps/oracle
ls -la

and post the output!


Author Comment

ID: 35076831
Hello wmp,

I am running 6100-05-04-1048 version. Yes I gave you the previous outputs as oracle user. With mount command run as oracle this is what i get

node       mounted        mounted over    vfs       date        options
-------- ---------------  ---------------  ------ ------------ ---------------
         /dev/hd4         /                jfs2   Mar 01 14:27 rw,log=/dev/hd8
         /dev/hd2         /usr             jfs2   Mar 01 14:27 rw,log=/dev/hd8
         /dev/hd9var      /var             jfs2   Mar 01 14:27 rw,log=/dev/hd8
         /dev/hd3         /tmp             jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/hd1         /home            jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/hd11admin   /admin           jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /proc            /proc            procfs Mar 01 14:28 rw
         /dev/hd10opt     /opt             jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/livedump    /var/adm/ras/livedump jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/apps        /apps            jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/oracle      /apps/oracle     jfs2   Mar 01 14:28 rw,log=/dev/loglv00
         /dev/oradata1    /apps/oradata1   jfs2   Mar 01 14:28 rw,log=/dev/loglv03
         /dev/oradata2    /apps/oradata2   jfs2   Mar 01 14:28 rw,log=/dev/loglv04
         /dev/oradata3    /apps/oradata3   jfs2   Mar 01 14:28 rw,log=/dev/loglv05
         /dev/oradata4    /apps/oradata4   jfs2   Mar 01 14:28 rw,log=/dev/loglv06
         /dev/oradata5    /apps/oradata5   jfs2   Mar 01 14:28 rw,log=/dev/loglv07
         /dev/oralogs     /apps/oralogs    jfs2   Mar 01 14:28 rw,log=/dev/loglv01
         /dev/oraarchs    /apps/oraarchs   jfs2   Mar 01 14:28 rw,log=/dev/loglv02


Author Comment

ID: 35077388
Its working, I have rebooted the system and chowed all the files to oracle in /apps/oracle, Thanks for the help

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question