CHOWN as root fails; owner 4294967295?
I'm running Slackware 9.0 with kernel version 2.4.22.
I recently burned some CDs in UDF format to avoid the 64 character filename truncation associated with ISO9960. After recompiling the kernel for UDF support, I now find that whenever I mount a UDF cdrom, the owner and group of the mounted filesystem is 4294967295 4294967295, and not root. This is troublesome as I am not able to access these files with any non-root user, although with root access I can copy the files at will. CHOWN fails to change the owner and CHGRP fails to change the group of both the mounted filesystem as well as any file I copy off the cd. ISO9960 CDs still work without trouble.
Here is a copy of /etc/fstab:
dev/hda2 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 1 1
/dev/hda1 /fat-c vfat defaults 1 0
/dev/sr0 /mnt/cdrom udf,iso9660 noauto,owner,ro 0 0
/dev/hdd /mnt/cdrom2 udf,iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
Here's a copy of /etc/mtab with both an ISO9960 and a UDF cd mounted:
/dev/hda3 / ext3 rw 0 0
/dev/hda1 /fat-c vfat rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
proc /proc proc rw 0 0
/dev/sr0 /mnt/cdrom iso9660 ro,nosuid,nodev 0 0
/dev/hdd /mnt/cdrom2 udf ro,nosuid,nodev 0 0
and a copy of the output of an attempted CHOWN:
root@cauchy:/mnt# umount cdrom2
root@cauchy:/mnt# ls -l
total 13
dr-xr-xr-x 1 root root 826 Nov 30 2001 cdrom
drwxr-xr-x 2 root root 4096 Sep 3 01:22 cdrom2
drwxr-xr-x 2 root root 4096 Mar 15 2002 floppy
drwxr-xr-x 2 root root 4096 Mar 15 2002 hd
root@cauchy:/mnt# mount cdrom2
root@cauchy:/mnt# ls -l
total 11
dr-xr-xr-x 1 root root 826 Nov 30 2001 cdrom
dr--r--r-- 7 4294967295 4294967295 368 Nov 23 21:35 cdrom2
drwxr-xr-x 2 root root 4096 Mar 15 2002 floppy
drwxr-xr-x 2 root root 4096 Mar 15 2002 hd
root@cauchy:/mnt# chown root cdrom2
chown: changing ownership of `cdrom2': Read-only file system
root@cauchy:/mnt# ls -l
total 11
dr-xr-xr-x 1 root root 826 Nov 30 2001 cdrom
dr--r--r-- 7 4294967295 4294967295 368 Nov 23 21:35 cdrom2
drwxr-xr-x 2 root root 4096 Mar 15 2002 floppy
drwxr-xr-x 2 root root 4096 Mar 15 2002 hd
root@cauchy:/mnt# chown root cdrom2
chown: changing ownership of `cdrom2': Read-only file system
root@cauchy:/mnt# ls -l
total 11
dr-xr-xr-x 1 root root 826 Nov 30 2001 cdrom
dr--r--r-- 7 4294967295 4294967295 368 Nov 23 21:35 cdrom2
drwxr-xr-x 2 root root 4096 Mar 15 2002 floppy
drwxr-xr-x 2 root root 4096 Mar 15 2002 hd
Thank you for your time,
Eventide
|