Bug 1890 - mount fails to assign correct UID for iso9660 fs (user mount)
Summary: mount fails to assign correct UID for iso9660 fs (user mount)
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mount
Version: 5.2
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-03-30 18:20 UTC by egbert
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 1999-03-30 20:34:22 UTC


Attachments (Terms of Use)

Description egbert 1999-03-30 18:20:01 UTC
When a non-root user mounting CDs with fstab entry of

   /dev/cdrom   /mnt/cdrom    iso9660  noauto,user,ro 0 0

and directory list is

lrwxrwxrwx   1 root     root            3 Mar 22 07:31
/dev/cdrom -> hdc
brw-rw----   1 root     disk      22,   0 May  5  1998
/dev/hdc

I get following non-existant UID 105 after cdrom mount
[root@random /etc]# ls -lat /mnt
total 3
drwxr-xr-x  23 root     root         1024 Mar 29 18:28 ..
drwxr-xr-x   8 root     root         1024 Mar 29 11:09 .
dr-xr-xr-x   8 105      users        2048 Jun 14  1998 cdrom


Steve Egbert

Comment 1 Preston Brown 1999-03-30 20:34:59 UTC
the userid of the person who burned the CD was 105.  When you mount
something it changes the uid of the mount point to that of the root of
the partition/disk/cd/whatever that you are mounting.


Note You need to log in before you can comment on or make changes to this bug.