[expert] Making Mounts accessable to all users
Hello: How can I make it so that my mount points are accessable to all users. Currently, I have to 'su' in order to write to a zip disk, which is -- to be honest -- unacceptable. Can anyone help? I need to analyze the AutoFS man page first, but I may be back asking how to set it up (I accidently unchecked it during install). Douglas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
Create an entry in /etc/fstab (if you don't already have one) and include the option 'user' (without ' ) included at the end of the entry. On 22 Feb 2002 19:49:30 -0800 "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: Nexist> Hello: Nexist> Nexist> How can I make it so that my mount points are accessable to all users. Nexist> Nexist> Currently, I have to 'su' in order to write to a zip disk, which is -- Nexist> to be honest -- unacceptable. Can anyone help? Nexist> Nexist> I need to analyze the AutoFS man page first, but I may be back asking Nexist> how to set it up (I accidently unchecked it during install). Nexist> Nexist> Douglas Nexist> Nexist> -- Brian - [EMAIL PROTECTED] My Home Page: http://www.brimac.com/~brianmac Fine Photos: http://www.brimacphotography.com Art for Sale: http://www.artbrowser.com Classified Advertising: http://www.sellit2000.com Beware of low-flying butterflies. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
Hello: I appear to have 'user' specified. that line of my fstab is as follows: /dev/sda4 /mnt/zip auto user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 Should I add user again? Douglas On Fri, 2002-02-22 at 20:09, Brian wrote: > Create an entry in /etc/fstab (if you don't already have one) and > include the option 'user' (without ' ) included at the end of the entry. > > On 22 Feb 2002 19:49:30 -0800 > "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: > > Nexist> Hello: > Nexist> > Nexist> How can I make it so that my mount points are accessable to all users. > Nexist> > Nexist> Currently, I have to 'su' in order to write to a zip disk, which is -- > Nexist> to be honest -- unacceptable. Can anyone help? > Nexist> > Nexist> I need to analyze the AutoFS man page first, but I may be back asking > Nexist> how to set it up (I accidently unchecked it during install). Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
That looks like it should work. How about the /mnt/zip dir, is it accessable to non-root users? (chmod o+rx /mnt/zip) On 22 Feb 2002 21:40:17 -0800 "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: Nexist> Hello: Nexist> Nexist> I appear to have 'user' specified. Nexist> Nexist> that line of my fstab is as follows: Nexist> /dev/sda4 /mnt/zip auto Nexist>user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 Nexist> Nexist> Should I add user again? Nexist> Nexist> Douglas Nexist> Nexist> On Fri, 2002-02-22 at 20:09, Brian wrote: Nexist> > Create an entry in /etc/fstab (if you don't already have one) and Nexist> > include the option 'user' (without ' ) included at the end of the entry. Nexist> > Nexist> > On 22 Feb 2002 19:49:30 -0800 Nexist> > "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: Nexist> > Nexist> > Nexist> Hello: Nexist> > Nexist> Nexist> > Nexist> How can I make it so that my mount points are accessable to all users. Nexist> > Nexist> Nexist> > Nexist> Currently, I have to 'su' in order to write to a zip disk, which is -- Nexist> > Nexist> to be honest -- unacceptable. Can anyone help? Nexist> > Nexist> Nexist> > Nexist> I need to analyze the AutoFS man page first, but I may be back asking Nexist> > Nexist> how to set it up (I accidently unchecked it during install). Nexist> Nexist> Nexist> -- Brian - [EMAIL PROTECTED] My Home Page: http://www.brimac.com/~brianmac Fine Photos: http://www.brimacphotography.com Art for Sale: http://www.artbrowser.com Classified Advertising: http://www.sellit2000.com A cannibal only opens his mouth to change your feet. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
Hello: Prior to the Mount, /mnt/zip has permissions of dwrxwrxwrx. After I issue a mount -t vfat /dev/sda4 /mnt/zip/ it has permissions of dwrx-rx-rx. Douglas On Fri, 2002-02-22 at 22:07, Brian wrote: > That looks like it should work. How about the /mnt/zip dir, is it > accessable to non-root users? (chmod o+rx /mnt/zip) > > On 22 Feb 2002 21:40:17 -0800 > "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: > > Nexist> Hello: > Nexist> > Nexist> I appear to have 'user' specified. > Nexist> > Nexist> that line of my fstab is as follows: > Nexist> /dev/sda4 /mnt/zip auto > Nexist>user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 > Nexist> > Nexist> Should I add user again? > Nexist> > Nexist> Douglas > Nexist> > Nexist> On Fri, 2002-02-22 at 20:09, Brian wrote: > Nexist> > Create an entry in /etc/fstab (if you don't already have one) and > Nexist> > include the option 'user' (without ' ) included at the end of the entry. > Nexist> > > Nexist> > On 22 Feb 2002 19:49:30 -0800 > Nexist> > "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: > Nexist> > > Nexist> > Nexist> Hello: > Nexist> > Nexist> > Nexist> > Nexist> How can I make it so that my mount points are accessable to all >users. > Nexist> > Nexist> > Nexist> > Nexist> Currently, I have to 'su' in order to write to a zip disk, which >is -- > Nexist> > Nexist> to be honest -- unacceptable. Can anyone help? > Nexist> > Nexist> > Nexist> > Nexist> I need to analyze the AutoFS man page first, but I may be back >asking > Nexist> > Nexist> how to set it up (I accidently unchecked it during install). Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
El sáb, 23-02-2002 a las 06:40, Nexist Xenda'ths escribió: > Hello: > > I appear to have 'user' specified. > > that line of my fstab is as follows: > /dev/sda4 /mnt/zip auto >user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 > > Should I add user again? Try modifying the line, and putting umask=777 instead of umask=0 Saludos óscar. -- .-. oo| /`'\ Usuario de Linux Registrado #227443 (\_;/) http://counter.li.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
Hello: On Sat, 2002-02-23 at 01:43, Oscar wrote: > El sáb, 23-02-2002 a las 06:40, Nexist Xenda'ths escribió: > > I appear to have 'user' specified. > > > > that line of my fstab is as follows: > > /dev/sda4 /mnt/zip auto > >user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 > > > > Should I add user again? > > Try modifying the line, and putting umask=777 instead of umask=0 > Saludos > óscar. Unfortunately, that had no effect. everyone except for Root has read only access. Douglas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
No expert here and probably I'm wrong, but taking a look at my own fstab and what I have for the floppy, maybe adding nosuid before exec would help. Acording to the man page nosuidDo not allow set-user-identifier or set- group-identifier bits to take effect. (This seems safe, but is in fact rather unsafe if you have suidperl(1) installed.) So unless you are using suidperl you shouldn't break anything and it should prevent lockouts. Otherwise I'm not sure. To quote (sorta) Dirty Harry, "Do you feel lucky". James On 23 Feb 2002 10:13:32 -0800 "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: > Hello: > > On Sat, 2002-02-23 at 01:43, Oscar wrote: > > El sáb, 23-02-2002 a las 06:40, Nexist Xenda'ths escribió: > > > I appear to have 'user' specified. > > > > > > that line of my fstab is as follows: > > > /dev/sda4 /mnt/zip auto > > >user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 > > > > > > Should I add user again? > > > > Try modifying the line, and putting umask=777 instead of umask=0 > > Saludos > > óscar. > > Unfortunately, that had no effect. everyone except for Root has read > only access. > > Douglas > > > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
Hello: No effect. I have noticed that I get the same effect when I mount my floppy. My fstab looks as follows (indented lines are continuations of the preceding line): /dev/hdb6 / ext3 defaults 1 1 /dev/hdb1 /boot ext2 defaults 1 2 none /dev/pts devpts mode=0620 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hdb7 /home ext3 defaults 1 2 /dev/hdc /mnt/cdrom auto user,iocharset=iso8859-1,umask=0,exec, codepage=850,ro,noauto 0 0 /dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,umask=0,sync, exec,codepage=850,noauto 0 0 /dev/hda1 /mnt/windows vfat iocharset=iso8859-1,umask=0, codepage=850 0 0 /dev/sda4 /mnt/zip auto user,iocharset=iso8859-1,umask=777, nosuid,exec,codepage=850,noauto 0 0 none /proc proc defaults 0 0 /dev/hdb8 /usr ext3 defaults 1 2 /dev/hdb9 /var ext3 defaults 1 2 /dev/hdb5 swap swap defaults 0 0 All help is most appreciated. On Sat, 2002-02-23 at 13:47, James wrote: > No expert here and probably I'm wrong, but taking a look at my own fstab > and what I have for the floppy, maybe adding nosuid before exec would > help. Acording to the man page > >nosuidDo not allow set-user-identifier or set- > group-identifier bits to take effect. (This > seems safe, but is in fact rather unsafe if > you have suidperl(1) installed.) > > So unless you are using suidperl you shouldn't break anything and it > should prevent lockouts. Otherwise I'm not sure. To quote (sorta) Dirty > Harry, "Do you feel lucky". > > James > > > > On 23 Feb 2002 10:13:32 -0800 > "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: > > > Hello: > > > > On Sat, 2002-02-23 at 01:43, Oscar wrote: > > > El sáb, 23-02-2002 a las 06:40, Nexist Xenda'ths escribió: > > > > I appear to have 'user' specified. > > > > > > > > that line of my fstab is as follows: > > > > /dev/sda4 /mnt/zip auto > > > >user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 > > > > > > > > Should I add user again? > > > > > > Try modifying the line, and putting umask=777 instead of umask=0 > > > Saludos > > > óscar. > > > > Unfortunately, that had no effect. everyone except for Root has read > > only access. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
Have a look in 'dmesg', look for the device that matches your zip disk. then 'ls -al /dev/'your zip device'. This should show you who owns and what group the device is in. For cdroms, this could be 'root' owned and group 'disk', you could then add group 'disk' to each user. This is a stab in the dark. ATB Dave. On 23 Feb 2002 23:26:05 -0800 "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: > Hello: > > No effect. I have noticed that I get the same effect when I mount my > floppy. My fstab looks as follows (indented lines are continuations of > the preceding line): > > /dev/hdb6 / ext3 defaults 1 1 > /dev/hdb1 /boot ext2 defaults 1 2 > none /dev/pts devpts mode=0620 0 0 > none /dev/shm tmpfs defaults 0 0 > /dev/hdb7 /home ext3 defaults 1 2 > /dev/hdc /mnt/cdrom auto > user,iocharset=iso8859-1,umask=0,exec, > codepage=850,ro,noauto 0 0 > /dev/fd0 /mnt/floppy auto > user,iocharset=iso8859-1,umask=0,sync, > exec,codepage=850,noauto 0 0 > /dev/hda1 /mnt/windows vfat > iocharset=iso8859-1,umask=0, > codepage=850 0 0 > /dev/sda4 /mnt/zip auto > user,iocharset=iso8859-1,umask=777, > nosuid,exec,codepage=850,noauto 0 0 > none /proc proc defaults 0 0 > /dev/hdb8 /usr ext3 defaults 1 2 > /dev/hdb9 /var ext3 defaults 1 2 > /dev/hdb5 swap swap defaults 0 0 > > All help is most appreciated. > > On Sat, 2002-02-23 at 13:47, James wrote: > > No expert here and probably I'm wrong, but taking a look at my own fstab > > and what I have for the floppy, maybe adding nosuid before exec would > > help. Acording to the man page > > > >nosuidDo not allow set-user-identifier or set- > > group-identifier bits to take effect. (This > > seems safe, but is in fact rather unsafe if > > you have suidperl(1) installed.) > > > > So unless you are using suidperl you shouldn't break anything and it > > should prevent lockouts. Otherwise I'm not sure. To quote (sorta) Dirty > > Harry, "Do you feel lucky". > > > > James > > > > > > > > On 23 Feb 2002 10:13:32 -0800 > > "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: > > > > > Hello: > > > > > > On Sat, 2002-02-23 at 01:43, Oscar wrote: > > > > El sáb, 23-02-2002 a las 06:40, Nexist Xenda'ths escribió: > > > > > I appear to have 'user' specified. > > > > > > > > > > that line of my fstab is as follows: > > > > > /dev/sda4 /mnt/zip auto > > > > >user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 > > > > > > > > > > Should I add user again? > > > > > > > > Try modifying the line, and putting umask=777 instead of umask=0 > > > > Saludos > > > > óscar. > > > > > > Unfortunately, that had no effect. everyone except for Root has read > > > only access. > > > > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Making Mounts accessable to all users
Hello Dave: /dev/sda4 is owned by root:root. I did try chowning it to root:users, then I chowned the mount points to root:user. so the permissions for the device were lr-xr-xr-x root:users /dev/sda4 and the MOunt point was drwxrwxrwx root:users /mnt/zip after mount -t vfat /dev/sda4 /mnt/zip, the permissions of the mounted zip drive are drwxr-xr-x root:root /mnt/zip On Sun, 2002-02-24 at 05:42, David Stevenson wrote: > Have a look in 'dmesg', look for the device that matches your zip disk. then 'ls -al >/dev/'your zip device'. This should show you who owns and what group the device is >in. For cdroms, this could be 'root' owned and group 'disk', you could then add group >'disk' to each user. > > This is a stab in the dark. > > ATB > Dave. > > On 23 Feb 2002 23:26:05 -0800 > "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: > > > Hello: > > > > No effect. I have noticed that I get the same effect when I mount my > > floppy. My fstab looks as follows (indented lines are continuations of > > the preceding line): > > > > /dev/hdb6 / ext3 defaults 1 1 > > /dev/hdb1 /boot ext2 defaults 1 2 > > none /dev/pts devpts mode=0620 0 0 > > none /dev/shm tmpfs defaults 0 0 > > /dev/hdb7 /home ext3 defaults 1 2 > > /dev/hdc /mnt/cdrom auto > > user,iocharset=iso8859-1,umask=0,exec, > > codepage=850,ro,noauto 0 0 > > /dev/fd0 /mnt/floppy auto > > user,iocharset=iso8859-1,umask=0,sync, > > exec,codepage=850,noauto 0 0 > > /dev/hda1 /mnt/windows vfat > > iocharset=iso8859-1,umask=0, > > codepage=850 0 0 > > /dev/sda4 /mnt/zip auto > > user,iocharset=iso8859-1,umask=777, > > nosuid,exec,codepage=850,noauto 0 0 > > none /proc proc defaults 0 0 > > /dev/hdb8 /usr ext3 defaults 1 2 > > /dev/hdb9 /var ext3 defaults 1 2 > > /dev/hdb5 swap swap defaults 0 0 > > > > All help is most appreciated. > > > > On Sat, 2002-02-23 at 13:47, James wrote: > > > No expert here and probably I'm wrong, but taking a look at my own fstab > > > and what I have for the floppy, maybe adding nosuid before exec would > > > help. Acording to the man page > > > > > >nosuidDo not allow set-user-identifier or set- > > > group-identifier bits to take effect. (This > > > seems safe, but is in fact rather unsafe if > > > you have suidperl(1) installed.) > > > > > > So unless you are using suidperl you shouldn't break anything and it > > > should prevent lockouts. Otherwise I'm not sure. To quote (sorta) Dirty > > > Harry, "Do you feel lucky". > > > > > > James > > > > > > > > > > > > On 23 Feb 2002 10:13:32 -0800 > > > "Nexist Xenda'ths" <[EMAIL PROTECTED]> wrote: > > > > > > > Hello: > > > > > > > > On Sat, 2002-02-23 at 01:43, Oscar wrote: > > > > > El sáb, 23-02-2002 a las 06:40, Nexist Xenda'ths escribió: > > > > > > I appear to have 'user' specified. > > > > > > > > > > > > that line of my fstab is as follows: > > > > > > /dev/sda4 /mnt/zip auto > > > > > >user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 > > > > > > > > > > > > Should I add user again? > > > > > > > > > > Try modifying the line, and putting umask=777 instead of umask=0 > > > > > Saludos > > > > > óscar. > > > > > > > > Unfortunately, that had no effect. everyone except for Root has read > > > > only access. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com