OT Linux problem

From: Jared Still <jkstill_at_gmail.com>
Date: Mon, 20 Oct 2008 16:11:06 -0700
Message-ID: <bf46380810201611u7cde16b3s9ba9d039ec0deb3b@mail.gmail.com>


I seem to be experiencing one of 2 things here:

  1. I can't see something right in front of me
  2. Permissions are not working as expected.

Create a directory as root, change owner to oracle:dba, and enable group write permissions.

*as root:*

# mkdir -p exp/pr09
# chown -R oracle:dba exp
# chmod -R g+w exp
# ls -ld exp exp/pr09

drwxrwxr-x 3 oracle dba 4096 Oct 20 16:04 exp drwxrwxr-x 2 oracle dba 4096 Oct 20 16:04 exp/pr09

Try to create a file in new directory - fails

*as jkstill:*

> pwd

/u01/exp/pr09

> touch x

touch: cannot touch `x': Permission denied

> rm /tmp/x
> touch /tmp/x
> ls -l /tmp/x

-rw-r----- 1 jkstill dba 0 Oct 20 16:06 /tmp/x

> ls -ld .

drwxrwxr-x 2 oracle dba 4096 Oct 20 16:04 .

*as root:*

# chmod o+w exp/pr09

as jkstill:

> pwd

/u01/exp/pr09

> touch x
> ls -ld x

-rw-r----- 1 jkstill dba 0 Oct 20 16:08 x

Any clues as to why group permissions are not allowing me to write to this directory?

I'm fully prepared to feel stupid...

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Oct 20 2008 - 18:11:06 CDT

Original text of this message