Re: How to set umask and pemission for a developer?
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 03/04/05
- Previous message: Matt Atterbury: "Re: sol10 serial install bios redirection"
- In reply to: Jirong Hu: "How to set umask and pemission for a developer?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 03 Mar 2005 23:02:00 -0500
In article <MI2dnWGXyMrFRLrfRVn-2w@rogers.com>,
"Jirong Hu" <hujirong888@yahoo.com> wrote:
> I want to do my development in my local directory, e.g. /sqa. I want to
> install all my tool set(IDE, JDK ..) and project source code into this
> folder.
>
> I created this folder using root so I can install stuffs. So how to set
Since root can write to any directory, why did the directory have to be
owned by root for it to install stuff?
> umask and pemission to this folder, so that:
umask isn't something in the filesystem, it's a process attribute that
turns off permissions on things that you create. I don't see how it's
at all applicable to your situation.
> 1. I can write to this folder(and subfolder whenever I copy anything into
> it)with my login
> 2. I can run anything intalled under this folder
1. Use ACLs to give your userid rwx permission to the directory.
2. Create a group that you're a member of, set the group of the
directory to that group, and set the group permissions to rwx.
3. Change the ownership of the directory to your userid, and set the
owner permissions to rwx.
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
- Previous message: Matt Atterbury: "Re: sol10 serial install bios redirection"
- In reply to: Jirong Hu: "How to set umask and pemission for a developer?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|