Re: chown for the floppy group
*- [EMAIL PROTECTED] wrote about "Re: chown for the floppy group " | > You can also add a line to /etc/fstab for /dev/fd0 with options to | > set to user access without mounting the disk. That way anyone may | > mount a floppy. | > - | | Can you be more specific ? That is, what line can be added to /etc/fstab to | achieve it ? | # device mount point fs options dump fsck order /dev/fd0 /floppy autonoauto,user,rw 0 0 See the fstab man page for all the options available. -- Brian - "Never criticize anybody until you have walked a mile in their shoes, because by that time you will be a mile away and have their shoes." - unknown Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
Re: chown for the floppy group
> You can also add a line to /etc/fstab for /dev/fd0 with options to > set to user access without mounting the disk. That way anyone may > mount a floppy. > - Can you be more specific ? That is, what line can be added to /etc/fstab to achieve it ?
Re: chown for the floppy group
Mark Panzer wrote: > > Kenneth Scharf wrote: > > > > You can also add a line to /etc/fstab for /dev/fd0 with options to > > set to user access without mounting the disk. That way anyone may > > mount a floppy. > > - > Well, I suppose I better RTFM some more. However, I did a chgrp floppy > /floppy, all is fine and dandy without any floppy mounted. However, > when I mount a floppy as root the root group once again owns the /floppy > directory which means I cannot write to it when I'm logged in as a This is normal. The default uid/gid (as mount understands them) is used when mounting. The uid/gid of the mount dir, when nothing is mounted there, is meaningless. You need to pass a uid/gid option when mounting that sets the user and group id's of the mounted filesystem. For example: /dev/hda1 /dosc vfat defaults,umask=002,uid=0,gid=35 0 0 This sets the files in my dos partition to be owned by root and the 'dos' group (look in /etc/group; it might already be there). The umask=2 allows read/write access for members of group 35 (dos). > standard user. I also have this problem when I try to mount my vfat > win95 partiton. Another question when I try to mount a vfat partition I > get the errors: > Unable to load NLS charset cp437(nls_437) > Unable to load NLS charset iso8859-1(nls_iso8859_1) Do you have a codepage and NLS ISO selected in the filesystems section of the kernel config? I have the following selected as modules when building the kernel (all in the filesystem's section): Native language support (this must be selected to see the other options below) DOS FAT fs support MSDOS fs support VFAT (windows-95) fs support Codepage 437 NLS ISO 8859-1 > but I can still read and write to the disk (as root), I'm guessing I did > something wrong when I recently compiled the kernel with kpkg. > > > > > > > I noticed when I'm logged in as a normal user (not root) I cannot > > write > > > to the floppy drive. I checked out the permissions, I'm in the floppy > > > group but /floppy belongs to root and is of the group root. While I > > was > > > root user I tried to > > > > > > chown .floppy /floppy > > > > > > but it says, root is not a member of the group floppy. > > > > Which is probably true. :) > > What about this: > > > > # chgrp floppy /floppy > > > > _ > > DO YOU YAHOO!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > -- > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null -- Ed C.
Re: chown for the floppy group
Kenneth Scharf wrote: > > You can also add a line to /etc/fstab for /dev/fd0 with options to > set to user access without mounting the disk. That way anyone may > mount a floppy. > - Well, I suppose I better RTFM some more. However, I did a chgrp floppy /floppy, all is fine and dandy without any floppy mounted. However, when I mount a floppy as root the root group once again owns the /floppy directory which means I cannot write to it when I'm logged in as a standard user. I also have this problem when I try to mount my vfat win95 partiton. Another question when I try to mount a vfat partition I get the errors: Unable to load NLS charset cp437(nls_437) Unable to load NLS charset iso8859-1(nls_iso8859_1) but I can still read and write to the disk (as root), I'm guessing I did something wrong when I recently compiled the kernel with kpkg. > > > > I noticed when I'm logged in as a normal user (not root) I cannot > write > > to the floppy drive. I checked out the permissions, I'm in the floppy > > group but /floppy belongs to root and is of the group root. While I > was > > root user I tried to > > > > chown .floppy /floppy > > > > but it says, root is not a member of the group floppy. > > Which is probably true. :) > What about this: > > # chgrp floppy /floppy > > _ > DO YOU YAHOO!? > Get your free @yahoo.com address at http://mail.yahoo.com > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: chown for the floppy group
You can also add a line to /etc/fstab for /dev/fd0 with options to set to user access without mounting the disk. That way anyone may mount a floppy. - > > I noticed when I'm logged in as a normal user (not root) I cannot write > to the floppy drive. I checked out the permissions, I'm in the floppy > group but /floppy belongs to root and is of the group root. While I was > root user I tried to > > chown .floppy /floppy > > but it says, root is not a member of the group floppy. Which is probably true. :) What about this: # chgrp floppy /floppy _ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: chown for the floppy group
> > I noticed when I'm logged in as a normal user (not root) I cannot write > to the floppy drive. I checked out the permissions, I'm in the floppy > group but /floppy belongs to root and is of the group root. While I was > root user I tried to > > chown .floppy /floppy > > but it says, root is not a member of the group floppy. Which is probably true. :) What about this: # chgrp floppy /floppy HTH, Eric -- E.L. Meijer ([EMAIL PROTECTED]) | tel. office +31 40 2472189 Eindhoven Univ. of Technology | tel. lab. +31 40 2475032 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax+31 40 2455054
chown for the floppy group
I noticed when I'm logged in as a normal user (not root) I cannot write to the floppy drive. I checked out the permissions, I'm in the floppy group but /floppy belongs to root and is of the group root. While I was root user I tried to chown .floppy /floppy but it says, root is not a member of the group floppy. thanks for your help, Mark Panzer