Re: Copying to another user's directory
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Tue, 10 Jan 2006 00:21:57 GMT
lambert54@xxxxxxx writes:
> I am still learning permissions in AIX but was wondering why other
> users cannot copy to my special directory I set up to be public. I set
> all the permissions from my root to this public directory to be 777.
> Other users can read from there, but cannot write to it. Can someone
> explain this behaviour to me?
Bad idea. Assuming that by "my root" you mean your home directory,
you're allowing any user to remove or modify any of your files in your
home directory.
If you want to allow other users to write into a directory under your
home directory, you can set the permissions for that directory *only*
to 777; everything above it, up to your home directory, can be 755.
(You can be more restrictive than that if you don't want to allow
other users to be able to list the contents of some of your
directories.)
As for why it's not working, I don't know. Assuming the public
directory is $HOME/foo/bar/pub, try showing is the output of the
following commands:
ls -ld $HOME
ls -ld $HOME/foo
ls -ld $HOME/foo/bar
ls -ld $HOME/foo/bar/pub
And explain *exactly* what you mean by "cannot write to it" (i.e.,
show us the command and the error message it produces).
--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
.
- Follow-Ups:
- Re: Copying to another user's directory
- From: lambert54
- Re: Copying to another user's directory
- References:
- Copying to another user's directory
- From: lambert54
- Copying to another user's directory
- Prev by Date: Re: Copying to another user's directory
- Next by Date: help required
- Previous by thread: Re: Copying to another user's directory
- Next by thread: Re: Copying to another user's directory
- Index(es):
Relevant Pages
|