[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mounting a floppy



On Fri, 18 Apr 1997 11:44:41 EDT "Christian Hudon" 
(chudon@ee.mcgill.ca) wrote:

> On Apr 18, Philippe Troin wrote
> > 
> > Yes, of course. Pick a GID, replace /dev/fd0 by /dev/cdrom (or 
> > whatever the cdrom device is), and replace the gid=25 by something 
> > else.
> 
> Hmm. There's one slight problem. It doesn't work. :)
> 
> First, there's no mention of 'umask' under the mount manpage, so that's
> kinda suspicious. And I tried both umask (on a RockRidge CDROM) and mode
> (on a plain CDROM)... and they don't work. All the files still come out as
> 444. I'm running Linux 2.0.30, if that makes a difference.

This will only work for non-rock-ridge CDs. ANd you're right, it 
should be mode=<something>. But it works quite badly. What's the 
correspondence between the mode you pass and the permissions ?
Changing the mode, change the permissions, but in a bizarre manner.

> Basically, I don't care very much about the permissions of the files under
> the mountpoint. What I'd want is a way to force the mountpoint to a given
> uid/gid and permissions upon mount. Doesn't look like that's possible.

Then create a directory above the mountpoint and change the perms of this directory !

Phil.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: