Sean Kilpatrick | 1 Jul 2004 02:24
Favicon

Re: Permission hell question


On Wednesday 30 June 2004 03:50 pm, Geoffrey wrote:
|  Maybe Sean can post the specifics of the actual zip 
| interface?

I am following this discussion with some (slightly bemused)
interest.
But I am not certain exactly what specifics you might want
here. My zip drive is an IDE device.  I have a hard drive
and the CD/DVD burner on the primary IDE connector and the
second hard drive and the zip drive on the secondary IDE
connector.  The two hard drives are linked in a RAID.

Someone (Dow?) wrote that the safest way for beginners is to
su to root and mount/copy from there.  I would posit that
beginners should NOT be given the suggestion to act as root 
unnecessarily as a mistyped command can do enormous damage.
It's sorta like telling your grandmother she can open up the
box and add a stick of memory. <grin>

other parts of the zip setup:

----------------------
fstab:

/dev/hdd4     /mnt/zip    auto    noauto,owner,kudzu 0 0

----------------------
auto.misc

(Continue reading)

Greg | 1 Jul 2004 02:35

RE: Permission hell question

Why not use sudo and give your "everyday" user the abilities to
mount/unmount/whatever you need ?

Greg

> -----Original Message-----
> From: ale-bounces@...
[mailto:ale-bounces@...]On Behalf Of Dow
> Hurst
> Sent: Wednesday, June 30, 2004 3:45 PM
> To: Atlanta Linux Enthusiasts
> Subject: Re: [ale] Permission hell question
>
>
> I'm glad your setting the record straight on this but I think it may be
> distribution specific or device type specific.  I have had on my
> RH9 box the
> user option in /etc/fstab and also the device to have write
> permissions for
> all but could not write to a CF card thru a card reader once
> mounted.  Once I
> did it as root then the write worked.  It may be that RH9 on this box has
> another security setting preventing it and/or the USB card reader
> might not be
> interpreted the same way as a zip since different code is mounting it.
> Anyway, my thought is that the safest way to guarantee the method
> to work is
> to just su to root to mount and copy the files, especially for
> new users.  I
> may be quoting also too much IRIX specific NFS mount rules.  The
(Continue reading)

Vincent Fox | 1 Jul 2004 02:42
Picon

Re: Permission hell question


We learn fastest from our screwups.

I wiped out the home drive on a server I was n00b admin for
within my first week of root access. Had to stay up all night
recovering from tape, but I sure did learn about being careful
from the root shell!

> Someone (Dow?) wrote that the safest way for beginners is to
> su to root and mount/copy from there.  I would posit that
> beginners should NOT be given the suggestion to act as root 
> unnecessarily as a mistyped command can do enormous damage.
James P. Kinney III | 1 Jul 2004 02:49

Re: Permission hell question

On Wed, 2004-06-30 at 20:24, Sean Kilpatrick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 30 June 2004 03:50 pm, Geoffrey wrote:
> |  Maybe Sean can post the specifics of the actual zip 
> | interface?
> 
> I am following this discussion with some (slightly bemused)
> interest.
> But I am not certain exactly what specifics you might want
> here. My zip drive is an IDE device.  I have a hard drive
> and the CD/DVD burner on the primary IDE connector and the
> second hard drive and the zip drive on the secondary IDE
> connector.  The two hard drives are linked in a RAID.
> 
> Someone (Dow?) wrote that the safest way for beginners is to
> su to root and mount/copy from there.  I would posit that
> beginners should NOT be given the suggestion to act as root 
> unnecessarily as a mistyped command can do enormous damage.
> It's sorta like telling your grandmother she can open up the
> box and add a stick of memory. <grin>
> 
> other parts of the zip setup:
> 
> - ----------------------
> fstab:
> 
> /dev/hdd4     /mnt/zip    auto    noauto,owner,kudzu 0 0

(Continue reading)

tfreeman | 1 Jul 2004 02:49

Re: Permission hell question


I'll chime in with "Amen". (On my first DOS box, when it was unusual to 
have either a 10 Meg drive or an 8087 coprocessor, I managed to reverse 
the arguments to the "backup" command along with a media format switch. 
Yup - formatted the hd that I was attempting to back up, all 20 Megs of 
it. After reinstallation, THAT particular command went _immediately_ 
into a batch file...) 

On Wed, 30 Jun 2004, Vincent Fox wrote:

> 
> We learn fastest from our screwups.
> 
> I wiped out the home drive on a server I was n00b admin for
> within my first week of root access. Had to stay up all night
> recovering from tape, but I sure did learn about being careful
> from the root shell!
> 
> > Someone (Dow?) wrote that the safest way for beginners is to
> > su to root and mount/copy from there.  I would posit that
> > beginners should NOT be given the suggestion to act as root 
> > unnecessarily as a mistyped command can do enormous damage.
> 
> 
> _______________________________________________
> Ale mailing list
> Ale@...
> http://www.ale.org/mailman/listinfo/ale
> 

(Continue reading)

Geoffrey | 1 Jul 2004 03:13

Re: Permission hell question

Sean Kilpatrick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 30 June 2004 03:50 pm, Geoffrey wrote:
> |  Maybe Sean can post the specifics of the actual zip 
> | interface?
> 
> I am following this discussion with some (slightly bemused)
> interest.
> But I am not certain exactly what specifics you might want
> here. My zip drive is an IDE device.  I have a hard drive
> and the CD/DVD burner on the primary IDE connector and the
> second hard drive and the zip drive on the secondary IDE
> connector.  The two hard drives are linked in a RAID.

Different device, so it would be interesting for you to attempt a 
different /etc/fstab entry.  Try the following:

/dev/hdd4 /mnt/zip vfat noauto,user,exec 0 0

mount the drive from the command line:

mount /mnt/zip

Then check out the perms.  See if you can create a file on /mnt/zip.

--

-- 
Until later, Geoffrey                     Registered Linux User #108567
Building secure systems in spite of Microsoft
(Continue reading)

Geoffrey | 1 Jul 2004 03:14

Re: Permission hell question

Greg wrote:
> Why not use sudo and give your "everyday" user the abilities to
> mount/unmount/whatever you need ?

Because you can get the same results with the user/users option in 
/etc/fstab.  It's a lot easier.

--

-- 
Until later, Geoffrey                     Registered Linux User #108567
Building secure systems in spite of Microsoft
Sean Kilpatrick | 1 Jul 2004 03:31
Favicon

Re: Permission hell question


On Wednesday 30 June 2004 09:13 pm, Geoffrey wrote:
| Try the following:
| 
| /dev/hdd4 /mnt/zip vfat noauto,user,exec 0 0
| 
| mount the drive from the command line:
| 
| mount /mnt/zip
| 
| Then check out the perms.  See if you can create a file on /mnt/zip.

made the change to the fstab file.
can mount the zip drive with the command above as user, not root.

perms on the zip platter look like this (only root has
write perms!):

drwxr-xr-x    5 kilpatms kilpatms     2048 Jun 21 18:27 Scripts

[Scripts is a directory and the same perms hold for files within.]

I really don't care about the perms on the zip platter -- only that
I can write to it without a hassle.

Sean

Jim Philips | 1 Jul 2004 03:32

convert aac to ogg? mp3


Does anybody know of any Linux utilities for doing this? I want to burn some 
iTunes stuff to disk on Linux, but k3b can't deal with it. My audio player, 
amarok, can play them just fine, though.
Geoffrey | 1 Jul 2004 03:39

Re: Permission hell question

Sean Kilpatrick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 30 June 2004 09:13 pm, Geoffrey wrote:
> | Try the following:
> | 
> | /dev/hdd4 /mnt/zip vfat noauto,user,exec 0 0
> | 
> | mount the drive from the command line:
> | 
> | mount /mnt/zip
> | 
> | Then check out the perms.  See if you can create a file on /mnt/zip.
> 
> 
> made the change to the fstab file.
> can mount the zip drive with the command above as user, not root.
> 
> perms on the zip platter look like this (only root has
> write perms!):
> 
> drwxr-xr-x    5 kilpatms kilpatms     2048 Jun 21 18:27 Scripts
> 
> [Scripts is a directory and the same perms hold for files within.]
> 
> I really don't care about the perms on the zip platter -- only that
> I can write to it without a hassle.

I'm not sure I understand.  Are you able to do what you want?  You said 
(Continue reading)


Gmane