chmod broken?

From: Bill Rees (breeze_at_smsonline.com)
Date: 06/30/05

  • Next message: Ankush Grover: "chrooting apache,mysql and php"
    Date: Wed, 29 Jun 2005 22:26:53 -0700
    To: fedora-list@redhat.com
    
    

    Hi all,
        I am getting chmod permission problems on files that are members of
    one group but owned by another person. Whoever owns the file can chmod
    the file but if you're just a member of the group you get the permission
    denied messages. I see this behavior on FC3 and FC4. I have disabled
    selinux, removed the password 'x' from the group file and have the
    following line in /etc/group:

           cvsuser::500:davs2rt,randall,rgallagher,maxb,breeze

        So if a file is owned by cvsuser and the group id is cvsuser, then
    none of the other members of the group can chmod the file. Oddly the
    members can remove the file, rename the file, copy over the file, write
    to the file (assuming permissions) but not chmod it. Cvs won't anyone
    login and I'm assuming the problem is the chmod problem.

        The id command for the user breeze is:
               uid=507(breeze) gid=507(breeze)
    groups=100(users),105(cvs),500(cvsuser),507(breeze)

        The password entries for cvsuser and breeze are:
               cvsuser:x:500:500::/home/cvsuser:/bin/bash
               breeze:x:507:507::/home/breeze:/bin/bash

        So what am I missing? What else should I try?

    bill rees

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Ankush Grover: "chrooting apache,mysql and php"

    Relevant Pages

    • Re: PM Security Issue
      ... gives me permission to open projects in Microsoft Project Professional. ... Categories control what you can do it to. ... in which I am a team member, and in which my resources are team members. ... When the My Projects category is included in the Project Managers group, ...
      (microsoft.public.project.pro_and_server)
    • Re: [SLE] Nobody is home in Samba [Solved]
      ... The owner, group and world permissions are each defined by ... So chmod 0660 filename sets the file permission of filename to ... Similarly chmod 0750 filename sets the file permission of filename to ...
      (SuSE)
    • Re: setting file permissions on a web server
      ... cgi files, for example), but it's never been clear to me *how* you do ... If it's done on the server, ... and change its permission number that way, ... chmod refers to local files so wherever you run it it will ...
      (comp.lang.python)
    • Re: MPlayer problem... works as root but not as users
      ... execution only for members of a specific group (and making sure that ... example (assuming you have a group "media" with only trusted userids as ... (note that only execute permission is required to run the binary; ... removing read permission, you ensure that the binary cannot be forced to ...
      (comp.os.linux.misc)
    • Re: Access denied. You do not have permission to perform this action or access this resource.
      ... your statement) in the subnewsgroup for programming issues- ... I should have permission to access all sites. ... Members of your local administrators group can access all those things. ...
      (microsoft.public.sharepoint.windowsservices)