Public bug reported:

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

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

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

foo@precise:/tmp/X$ chmod 0775 Y
foo@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)

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise running-unity

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

Title:
  Unable to unset setguid bit

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to