Re: How to set umask and pemission for a developer?

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 03/04/05

  • Next message: Jens P: "Handling special characters in Sybase ISQL script"
    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 ***
    

  • Next message: Jens P: "Handling special characters in Sybase ISQL script"

    Relevant Pages

    • Re: New install of XP
      ... you can set XP Home permissions in Safe Mode. ... Open Explorer, go to Tools and Folder Options, on the view tab, scroll to ... >>Was this a clean install or did you install over a> previous setup? ...
      (microsoft.public.windowsxp.basics)
    • Re: cant publish, author permissions issue
      ... copied them to disk and stuck them into a frontpage folder on the newer ... machine-- that folder, i believe, was part of ms office but was empty because ... and so had to wait until another disk was purchased before i could install on ... The Permissions will normally be grayed out on your local machine as they can not be published ...
      (microsoft.public.frontpage.extensions.windowsnt)
    • RE: Location of web root
      ... Subject: Location of web root ... during install) pointing out that a Custom install will allow for a more ... in a different folder off C:. ... were the script kiddie, how would you exploit the machine. ...
      (Security-Basics)
    • Re: Ids in Administrator Group
      ... the Permissions should now be OK. ... I noticed during the install process when the program asked to select ... "torbar" wrote: ... This is the default folder where all programs are installed. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Software Restrictions
      ... The software does not have to be installed in the Program Files folder but ... have read/list/execute permissions to a folder created off of the drive ... There are free tools from SysInternals called filemon ... restrict what applications a user can run or install by configuring ...
      (microsoft.public.windows.group_policy)