[Bug 927218] Re: Unable to unset setguid bit

Lars Noodén lars.nooden at gmail.com
Sun Feb 5 16:58:05 UTC 2012


-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/927218

Title:
  Unable to unset setguid bit

Status in “bash” package in Ubuntu:
  New

Bug description:
  In Precise, it is possible to set the guid bit for a directory but not
  to unset it.

  $ chmod g=rwxs Y
  foo at precise:/tmp/X$ ls -l
  total 4
  drwxrwsr-x 2 foo adm 4096 Feb  5 18:48 Y

  foo at precise:/tmp/X$ chmod g= Y
  foo at precise:/tmp/X$ ls -l
  total 4
  drwx--Sr-x 2 maintenance adm 4096 Feb  5 18:48 Y
  foo at precise:/tmp/X$ chmod g=rwx Y
  maintenance at precise:/tmp/X$ ls -l
  total 4
  drwxrwsr-x 2 foo adm 4096 Feb  5 18:48 Y

  foo at precise:/tmp/X$ chmod 0775 Y
  foo at precise:/tmp/X$ ls -l 
  total 4
  drwxrwsr-x 2 foo adm 4096 Feb  5 18:48 Y

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: bash 4.2-1ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-14.23-generic-pae 3.2.3
  Uname: Linux 3.2.0-14-generic-pae i686
  ApportVersion: 1.91-0ubuntu1
  Architecture: i386
  Date: Sun Feb  5 18:52:29 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Alpha i386 (20111129)
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/927218/+subscriptions




More information about the foundations-bugs mailing list