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:
Mon, 5 May 2014 00:21:48 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
>> On May 5, 2014 2:10, ToddAndMargo <[log in to unmask]> 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?
>>



On 05/05/2014 12:09 AM, Paul Robert Marino wrote:
> Well you shouldn't have mounted it as root.
>
> There is a wealth of documentation on this subject from granting servers
> access to mount and unmount file systems to users using fuse mounts like
> most desktop environments do as us Perl guys say there are many ways to
> do it!
>

Hi Paul,

You don't know the whole story.  I wanted to mount it
as root.  Then I wanted to test if I could write to
it as group=user (100).

I wanted to umount the drive as a user so I
didn't have to go back to root and then back to
user again for some more tests you are not seeing.

I was hoping there was a "-o " option to allow
that.  Google have failed me.

-T


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

ATOM RSS1 RSS2