Re: Publicly accessible directory?
- From: Tim Greer <tim@xxxxxxxxxxxxx>
- Date: Tue, 03 Mar 2009 11:35:44 -0800
Joyce of Pendle wrote:
Tim Greer wrote:
Joyce of Pendle wrote:
But when I save a file as one user, it is locked against the
other, even in the opened directory. Can I save as a group, or
must I change the permissions of each file when I save it?
What are your umask settings for file creation?
umask is set in /etc/login.defs to 022 - I think I want to change
that (for now, at least) to 000.
Just set it for group read/write/execute (whatever is appropriate). You
probably don't want to have it actually be 000 (that's a bit too open
and shouldn't be necessary).
Check your local profile/bashrc files to edit the setting.
Also, while you can share the same group, it will still create
the file as your default group, so you'll need to use
chgrp shredgrpname /path/to/file
(with the appropriate permissions so both can read, write and/or
execute).
I have set each of us (and root) to be members of the other group,
so I think I can postpone trying this until I have spent a few
months reading documentation (in my copious spare time).
For now, I can set directories in home/ to have read-write access
from everyone after each session, with included files. In fact, I
should be able to set each home directory that way?
You're setting world access to home directories? Can you trust all of
the users on the system, including any remote access (if you allow
that)?
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
.
- Follow-Ups:
- Re: Publicly accessible directory?
- From: Joyce of Pendle
- Re: Publicly accessible directory?
- References:
- Publicly accessible directory?
- From: Joyce of Pendle
- Re: Publicly accessible directory?
- From: Tim Greer
- Publicly accessible directory?
- From: Joyce of Pendle
- Re: Publicly accessible directory?
- From: Tim Greer
- Re: Publicly accessible directory?
- From: Joyce of Pendle
- Publicly accessible directory?
- Prev by Date: Re: Root can't rm or chmod on a directory (not immutable either)
- Next by Date: Re: store shell output of last command(s) in predefined variables
- Previous by thread: Re: Publicly accessible directory?
- Next by thread: Re: Publicly accessible directory?
- Index(es):
Relevant Pages
|