Package: coreutils Version: 5.97-5.2 Followup-For: Bug #216025
hi I stumbled into this bug in this following, hal/pmount mounted a USB disk with ext2 system on behalf of user M # ls -la /media/ totale 22 drwxr-xr-x 7 root root 1024 2007-01-17 10:01 . drwxr-xr-x 23 root root 1024 2006-12-06 10:35 .. lrwxrwxrwx 1 root root 6 2006-10-20 12:08 cdrom -> cdrom0 drwxr-xr-x 2 root root 1024 2006-10-20 12:08 cdrom0 drwxr-xr-x 2 root root 1024 2006-10-20 12:08 cdrom1 lrwxrwxrwx 1 root root 7 2006-10-20 12:08 floppy -> floppy0 drwxr-xr-x 2 root root 1024 2006-10-20 12:08 floppy0 -r-xr-S--- 1 root root 0 2006-10-20 12:40 .hal-mtab-lock drwxr-xr-x 6 root root 1024 2005-09-12 12:55 usbdisk drwx------ 8 M M 16384 1970-01-01 01:00 usbdisk-1 # mount | grep media /dev/sda2 on /media/usbdisk type ext3 (rw,noexec,nosuid,nodev) /dev/sda1 on /media/usbdisk-1 type vfat (rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=226,gid=1000,umask=077,iocharset=utf8) I tried to change permission , both as user M, and as user D , and as root; in all cases $ chmod a+rx /media/usbdisk-1 ; echo $? 0 $ ls -lda /media/usbdisk-1 drwx------ 8 M M 16384 1970-01-01 01:00 /media/usbdisk-1 no error is reported , and no message is reported in dmesg ; as a corollary, it seems that it is impossible to change permission to the root of the USB disk ------- I then tried to change permission to other mount points, as root, and that works: # mount | grep sarge /dev/hda7 on /sarge/data type ext3 (rw,data=writeback) # chmod g-w /sarge/data ; echo $? 0 # ls -lad /sarge/data drwxr-xrwt 41 root root 4096 2006-11-24 11:53 /sarge/data # chmod g+w /sarge/data ; echo $? 0 # ls -lad /sarge/data drwxrwxrwt 41 root root 4096 2006-11-24 11:53 /sarge/data this is weird a. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (900, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-amd64 Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Versions of packages coreutils depends on: ii libacl1 2.2.41-1 Access control list shared library ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii libselinux1 1.32-3 SELinux shared libraries coreutils recommends no packages. -- no debconf information -- Andrea Mennucc "The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do, and the GPL sounds like it was written by a human being who wants me to know what I can do." Anonymous, http://www.securityfocus.com/columnists/420 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]