[Bug 531265] [NEW] Linux 2.6.32-15-generic does not correctly handle permissions

Claudio Moretti flyingstar16 at gmail.com
Wed Mar 3 11:13:57 UTC 2010


Public bug reported:

I cannot cd to a folder not owned by me, without having set the execute permission on a folder, even if there is the "universe read" one.
I can however edit files that don't have the x permission.
Steps to reproduce:

1) Create a folder
2) chown that folder to another user
3) chmod it to drwx--x--x (run as root: chmod a-rwx foldername && chmod a+r foldername)
4) try to cd into it

root at Jarvis:~# mkdir test
root at Jarvis:~# chmod a-rwx test && chmod a+r test
root at Jarvis:~# ls -l |grep test
dr--r--r-- 2 root    root      4096 2010-03-03 12:10 test

claudio at Jarvis:~$ cd test/
bash: cd: test/: Permesso negato

=================================================================
claudio at Jarvis:~$ uname -a
Linux Jarvis 2.6.32-15-generic #22-Ubuntu SMP Tue Mar 2 02:23:29 UTC 2010 x86_64 GNU/Linux
claudio at Jarvis:~$ cat /proc/version_signature
Ubuntu 2.6.32-15.22-generic

ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  claudio    1889 F.... pulseaudio
CRDA:
 country 98:
 	(2402 - 2482 @ 40), (N/A, 20)
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfebfc000 irq 21'
   Mixer name	: 'SigmaTel STAC9205'
   Components	: 'HDA:838476a0,10280228,00100204 HDA:14f12c06,14f1000f,00100000'
   Controls      : 19
   Simple ctrls  : 11
Date: Wed Mar  3 12:03:07 2010
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=3be917d1-4bb8-4d17-846b-88461c8a74b3
MachineType: Dell Inc. Vostro 1500
NonfreeKernelModules: nvidia
Package: linux-image-2.6.32-15-generic 2.6.32-15.22
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-15-generic root=/dev/mapper/sda6_crypt ro quiet
ProcEnviron:
 LANG=it_IT.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
Regression: No
RelatedPackageVersions: linux-firmware 1.31
Reproducible: Yes
SourcePackage: linux
TestedUpstream: No
Uname: Linux 2.6.32-15-generic x86_64
dmi.bios.date: 04/21/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.name: 0WY040
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA06:bd04/21/2008:svnDellInc.:pnVostro1500:pvr:rvnDellInc.:rn0WY040:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Vostro 1500
dmi.sys.vendor: Dell Inc.

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


** Tags: amd64 apport-bug lucid needs-upstream-testing

-- 
Linux 2.6.32-15-generic does not correctly handle permissions
https://bugs.launchpad.net/bugs/531265
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list