SCIENTIFIC-LINUX-USERS Archives

May 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
ToddAndMargo <[log in to unmask]>
Reply To:
ToddAndMargo <[log in to unmask]>
Date:
Tue, 6 May 2014 12:12:56 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (57 lines)
On 05/05/2014 08:23 PM, Franchisseur Robert wrote:
> -- Le (On) 2014-05-04 -0700 à (at) 23:09:32 ToddAndMargo écrivit (wrote): --
>
>> Hi All,
>>
>> "#" is roots user prompt
>> "$" is my user's prompt
>>
>> # mount -t ext3 -o users,exec /dev/sdc1  /mnt/LIVE
>> # chmod -R 2777 /mnt/LIVE
>> $ cp -R /home/CDs/Keepers/Linux/Usb.CreateLiveUSB /mnt/LIVE
>> $ umount /mnt/LIVE
>>
>> I can not umount /mnt/LIVE because it is not in fstab
>> and "$" is not root.
>>
>> I want the user to be able to umount this on and I don't
>> want it cluttering up fstab.
>>
>> Is there an "-o" option that will allow the
>> user to umount it?
>>
>
>         Hello,
>
>         with :
>         # mount -t ext3 -o user,exec /dev/sdc1  /mnt/LIVE
>                            ==== without 's'
>
>
>         it works for me under SL5.10
>
>

Hi Franchisseur,

SL 6.5

$ su root -c "mount -t ext3 -o user,exec /dev/sdc1  /mnt/LIVE"
Password:

$ umount /mnt/LIVE
umount: /mnt/LIVE is not in the fstab (and you are not root)

RATS!

By chance was your drive in your fstab?

-T


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ATOM RSS1 RSS2