Bug 1890 - mount fails to assign correct UID for iso9660 fs (user mount)
mount fails to assign correct UID for iso9660 fs (user mount)
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: mount (Show other bugs)
5.2
i386 Linux
low Severity low
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-03-30 13:20 EST by egbert
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-03-30 15:34:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description egbert 1999-03-30 13:20:01 EST
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 15:34:59 EST
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.