Talk:Mount

I wish there were something here on how permissions are assigned for mounted resources.

ie: You stick in a CD-ROM: What are the file permissions? Who is the owner?

Or you put in a floppy: What are the file permissions? Who is the owner?

I see a thread over here on CD-ROM permissions. Hmmm...

LionKimbro

It seems that CD-ROM's have their own permissions system.

I don't know how ownership and permissions are decided.

Windows doesn't have permissions, so do Windows CD-ROM burners just decide some arbitrary permissions?

The mount process probably affects the ownership, but does it also affect permissions?

LionKimbro

IIRC, ownership and permissions data are stored in the filesystem itself - specifically in the directories, which actually are special files which list information about the files contained in the directory. A cd-rom has a specified filesystem type of its own, and a floppy is usually some variety of FAT. Neither of these filesystems store ownership and permission data. So, from Linux's point of view, all files and directories on a cd-rom or a floppy are effectively owned by root, and have a permission of 777. I'm kinda fuzzy on this, so does anybody feel like correcting me? Crazyeddie 00:43, Dec 4, 2004 (EST)

Oh, the filesystem type for cd-roms is iso9660. The "iso" part stands for "international standards organization". Crazyeddie 00:45, Dec 4, 2004 (EST)

Just read that forum thread, so yet another quick note. The "mount point" of a device is directory. A directory is actually a file that lists information about files in that directory. So the ownership and permissions of the mount point for a removable device varies, since it is located on a different filesystem than the mounted device itself. That's what they were talking about in that forum thread. Hope that clears it up. Crazyeddie 04:15, Dec 4, 2004 (EST)

I would not flag this as "administrative command". You do not need to be an administrator in order to need the mount command. playing a CD even requires mounting it sometimes. --ThorstenStaerk 07:03, April 16, 2011 (UTC)