LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-22-2007, 07:57 AM   #1
xiaodown
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Redhat, Centos, Fedora
Posts: 37

Rep: Reputation: 15
Need to have USB thumbdrives mount without world-read permissions in FC6


I need to find a way to have fedora mount any usbkey that's plugged in as non-world readable. I've been googling and haven't found a good solution so far.

Most people seem to say changing udev is the way to go, but in /etc/udev/rules.d/ there's not a "50-permissions" to edit, and furthermore, I've grepped the entire directory - there's nowhere that it lists 755 (the permissions that the drive is mounted with) or 022 (corresponding umask).

All I need is to change the permissions on usb storage devices (or, for all I care, all devices from /dev/sd*, as there aren't any other scsi devices) so that they automatically mount as 750, owner:root.
 
Old 02-23-2007, 08:57 AM   #2
xiaodown
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Redhat, Centos, Fedora
Posts: 37

Original Poster
Rep: Reputation: 15
bumpitty bump
 
Old 02-26-2007, 10:56 AM   #3
xiaodown
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Redhat, Centos, Fedora
Posts: 37

Original Poster
Rep: Reputation: 15
Bump:

I've done some more exploring on teh intarwebs, and it seems that this is managed by the HAL daemon and some form of hotplug.

But I can't seem to find any documentation on HAL / hald, and I can't find any config files for it or hotplug (everything I find is somehow pointing back to udev, but I can't find anything in udev about default umasks, nor can I find anything that lists 755 or 022).

Help, please.
 
Old 12-23-2008, 01:29 PM   #4
jeanmarc
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
USB mount world readable in Fedora 8.

If someone would point to relevant information about hald and mount permission it would be appreciated.

Automated mount from haldaemon in Ubuntu set correct permissions (0700), but not in Fedora 8 (0755). I'm unable to find what to look for. I guess it's to be specified somewhere in /usr/share/hal/fdi/policy/ but I don't really know how to understand these files.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb mount permissions bigwheel Slackware 9 04-23-2006 09:55 AM
Cannot mount a USB drive as read/write. icheyne MEPIS 2 06-28-2005 01:48 AM
Mount USB disk with permissions EcceVery Debian 4 06-05-2005 12:18 PM
File Sync software for USB thumbdrives edlentz Linux - Software 0 11-20-2004 09:15 AM
Setting permissions on an external USB hard drive so that all users can read from it? Pi Man Linux - Hardware 2 09-07-2004 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration