Re: How to mount a external USB drive automatically

2013-05-09 Thread Robert Holtzman
On Wed, May 08, 2013 at 03:53:07PM -0500, Anthony wrote:
 I have an external USB drive that is always connected to my computer.
 When I log in, it shows up on my desktop (unmounted) and all I have to
 do is click on it to mount it. It mounts to
 
 /run/media/anthony/Storage
 
 But I want to have it mount automatically for both me (the system admin)
 and any other users that login to their accounts. I'll then change
 individual folder permissions for access control.
 
 How can I make it mount automatically since it's already showing in its
 unmounted state on my desktop?

I have never known a usb drive to show up on the desktop without being
mounted. Have you looked in /etc/mtab? If so, what does it show? If
not, how do you know the drive isn't mounted?

-- 
Bob Holtzman
If you think you're getting free lunch, 
check the price of the beer.
Key ID: 8D549279


signature.asc
Description: Digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount a external USB drive automatically

2013-05-09 Thread Joe Zeff

On 05/09/2013 12:27 PM, Robert Holtzman wrote:

I have never known a usb drive to show up on the desktop without being
mounted. Have you looked in /etc/mtab? If so, what does it show? If
not, how do you know the drive isn't mounted?


I'm running F 17 with Xfce, on two computers and on both, I've told it 
to mount removable media when inserted.  When I plug a flash drive in, 
on either box, it appears on the desktop, but if I right-click on it, 
one of the options is to mount it.  I can't speak for the OP, but that's 
how I know they're not mounted.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount a external USB drive automatically

2013-05-09 Thread Grzegorz Witkowski
On Wed, May 8, 2013 at 9:53 PM, Anthony li...@cajuntechie.org wrote:

 I have an external USB drive that is always connected to my computer.
 When I log in, it shows up on my desktop (unmounted) and all I have to
 do is click on it to mount it. It mounts to

 /run/media/anthony/Storage

 But I want to have it mount automatically for both me (the system admin)
 and any other users that login to their accounts. I'll then change
 individual folder permissions for access control.

 How can I make it mount automatically since it's already showing in its
 unmounted state on my desktop?

 Thanks,
 Anthony
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org


Hi Anthony,

1. Mount the drive from your desktop.
2. Check what device was created for the drive. (/var/log/messages, dmesg,
mount, /dev/...)
3. Check the UUID of that device, e.g

(example from my system)
# blkid /dev/sdd1
/dev/sdd1: LABEL=WD10EAVS-EXT4
UUID=960c3a40-2079-4fff-aebb-85f0337f924a TYPE=ext4
# blkid /dev/sdd2
/dev/sdd2: LABEL=WD10EAVS-NTFS UUID=7EE42C26E42BDF61 TYPE=ntfs
(I have two partitions on mine)

4. Create a folders for the mount points and make sure they have proper
permissions for the users.
(see http://www.cyberciti.biz/faq/linux-setup-shared-directory/)
5. Modify the /etc/fstab, e.g.

# Manually added
UUID=960c3a40-2079-4fff-aebb-85f0337f924a /mnt/WD10EAVS-EXT4ext4
defaults1 2
UUID=7EE42C26E42BDF61 /mnt/WD10EAVS-NTFS ntfsdefaults1 2

6. See man fstab and man mount - if you want to find out more details and
options
7. You could mount them with acl option and use ACLs for more granular
access control.
8. Unmount previously mounted device(s) and run
# mount -a
# mount
to see if the device(s)/partitions will be mounted with no problem from the
/etc/fstab.
9. Check the access to the folder(s).
10. If all above is good reboot the system to test.

You could create a LUKS device or partition first on that external disk to
make it password/key protected, so in case you would lose it no one will be
able to mount it without the password/key.
# man 8 cryptsetup
http://fedoraproject.org/wiki/Implementing_LUKS_Disk_Encryption
https://fedoraproject.org/wiki/Disk_Encryption_User_Guide
https://docs.fedoraproject.org/en-US/Fedora/18/html/Security_Guide/sect-Security_Guide-LUKS_Disk_Encryption.html
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security_Guide/sect-Security_Guide-LUKS_Disk_Encryption.html

I hope this will help.
All the best.

Kindest regards,
Grzegorz
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount a external USB drive automatically

2013-05-09 Thread Jack Craig
just by way of a WAG, my usb thumb drive began auto mounting on insert once
i labelled the file system on it...

YMMV, ...


On Thu, May 9, 2013 at 12:27 PM, Robert Holtzman hol...@cox.net wrote:

 On Wed, May 08, 2013 at 03:53:07PM -0500, Anthony wrote:
  I have an external USB drive that is always connected to my computer.
  When I log in, it shows up on my desktop (unmounted) and all I have to
  do is click on it to mount it. It mounts to
 
  /run/media/anthony/Storage
 
  But I want to have it mount automatically for both me (the system admin)
  and any other users that login to their accounts. I'll then change
  individual folder permissions for access control.
 
  How can I make it mount automatically since it's already showing in its
  unmounted state on my desktop?

 I have never known a usb drive to show up on the desktop without being
 mounted. Have you looked in /etc/mtab? If so, what does it show? If
 not, how do you know the drive isn't mounted?

 --
 Bob Holtzman
 If you think you're getting free lunch,
 check the price of the beer.
 Key ID: 8D549279

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)

 iEYEARECAAYFAlGL+KMACgkQv5BYD41UknmHTACgvXHa73kzngaI4v3T6wlVaeCp
 BAAAnilP0S5LgmK+wrCeHde5LvErxXWG
 =JH8w
 -END PGP SIGNATURE-

 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount a external USB drive automatically

2013-05-09 Thread Joe Zeff

On 05/09/2013 01:51 PM, Rick Stevens wrote:


F17, XFCE as well. On my systems, an icon appears on the desktop when
the media is inserted--but it is NOT mounted.


Have you checked to see if you've set Removable Media to automount?  If 
so, it's not just me, and I may be opening a bug report with Xfce.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount a external USB drive automatically

2013-05-09 Thread Steven Stern
On 05/09/2013 04:21 PM, Joe Zeff wrote:
 On 05/09/2013 01:51 PM, Rick Stevens wrote:

 F17, XFCE as well. On my systems, an icon appears on the desktop when
 the media is inserted--but it is NOT mounted.
 
 Have you checked to see if you've set Removable Media to automount?  If
 so, it's not just me, and I may be opening a bug report with Xfce.

F18, XFCE, mount removable media is checked.  When I plugin my external
HD, it shows up on the desktop, unmounted.

It's not just you.

-- 
-- Steve
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount a external USB drive automatically

2013-05-09 Thread Anthony
On 05/09/2013 02:27 PM, Robert Holtzman wrote:
 On Wed, May 08, 2013 at 03:53:07PM -0500, Anthony wrote:
 I have an external USB drive that is always connected to my computer.
 When I log in, it shows up on my desktop (unmounted) and all I have to
 do is click on it to mount it. It mounts to

 /run/media/anthony/Storage

 But I want to have it mount automatically for both me (the system admin)
 and any other users that login to their accounts. I'll then change
 individual folder permissions for access control.

 How can I make it mount automatically since it's already showing in its
 unmounted state on my desktop?
 
 I have never known a usb drive to show up on the desktop without being
 mounted. Have you looked in /etc/mtab? If so, what does it show? If
 not, how do you know the drive isn't mounted?

Hmm, very odd. I looked in /etc/fstab and it's just mounting my main,
internal drive. No mention of the external drive.

I have this situation develop with two drives now: an external USB hard
disk and an 8GB flash drive. Both show up on my desktop and are
inaccessible to programs (because they are not mounted) and must be
clicked on to mount them. I know they aren't mounted because, when I
hover over them I see the Not mounted yet statement.

Odd huh?

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount a external USB drive automatically

2013-05-09 Thread Joe Zeff

On 05/09/2013 03:03 PM, Anthony wrote:

Hmm, very odd. I looked in /etc/fstab and it's just mounting my main,
internal drive. No mention of the external drive.


External devices don't need to be in /etc/fstab to get mounted.  If they 
did, most people would never be able to mount a flash drive, CD or DVD.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount a external USB drive automatically

2013-05-09 Thread Joe Zeff

On 05/09/2013 02:31 PM, Steven Stern wrote:

F18, XFCE, mount removable media is checked.  When I plugin my external
HD, it shows up on the desktop, unmounted.


I've been doing a little searching at the Xfce support forum.  One 
suggestion was to make sure that thunar was running as a daemon.  If 
not, run this from Run Program:


thunar --daemon

It didn't work for me, but it might for you.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount a external USB drive automatically

2013-05-09 Thread Joe Zeff

On 05/09/2013 02:31 PM, Steven Stern wrote:

F18, XFCE, mount removable media is checked.  When I plugin my external
HD, it shows up on the desktop, unmounted.


Further searching of the forum shows this: 
http://forum.xfce.org/viewtopic.php?id=7149


However, my desktop's version of 
/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy doesn't have 
action id=org.freedesktop.udisks2.filesystem-mount-other-seat and I 
don't know enough to be sure where (if anywhere) to modify.  However, it 
seems like a good idea to pass this on because somebody out there will 
probably know what's needed, now that we have an idea of where to look.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


How to mount a external USB drive automatically

2013-05-08 Thread Anthony
I have an external USB drive that is always connected to my computer.
When I log in, it shows up on my desktop (unmounted) and all I have to
do is click on it to mount it. It mounts to

/run/media/anthony/Storage

But I want to have it mount automatically for both me (the system admin)
and any other users that login to their accounts. I'll then change
individual folder permissions for access control.

How can I make it mount automatically since it's already showing in its
unmounted state on my desktop?

Thanks,
Anthony
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org