Solved

cannot write anything - AIX

Posted on 2011-03-08
6
508 Views
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

Thanks
0
Comment
Question by:mnis2008
  • 3
  • 3
6 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
Comment Utility
Please post the output of

id

pwd


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

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

wmp

0
 

Author Comment

by:mnis2008
Comment Utility
here is the output

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

oracle@csc06ora03 $ pwd
/apps/oracle
[/apps/oracle]

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

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



0
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
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"?

0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
... and please issue

cd /apps/oracle
ls -la

and post the output!

0
 

Author Comment

by:mnis2008
Comment Utility
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

Thanks
0
 

Author Comment

by:mnis2008
Comment Utility
Its working, I have rebooted the system and chowed all the files to oracle in /apps/oracle, Thanks for the help
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now