LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-27-2010, 05:12 AM   #1
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.1 multilib
Posts: 112

Rep: Reputation: 16
HAL automount permissions differs between USB HD and USB memory stick


When I connect my USB HD and USB memory stick, they show up in /media as
Code:
drwx------ 1 olle root  4096 2010-06-27 09:05 Expansion Drive
drwxr-xr-x 6 olle root 16384 1970-01-01 01:00 KINGSTON
where Expansion Drive is the HD and KINGSTON the memory stick. The difference in permissions makes it hard to share the HD as a samba share. Why is there a difference? There is no entry for the HD (or the memory stick) in /etc/fstab. There was no problem connecting to the HD from Windows via samba in slack 13.0, so I guess something must have happened in the upgrade. And, finally, how and where do I set the permissions to 755 for the HD?
 
Old 06-27-2010, 07:12 AM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,136

Rep: Reputation: 132Reputation: 132
One idea is to mount things manually

If you check folders with "df" and then try to chmod that folder. hope this helps.
 
Old 06-27-2010, 07:15 AM   #3
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.1 multilib
Posts: 112

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by yooy View Post
One idea is to mount things manually

If you check folders with "df" and then try to chmod that folder. hope this helps.
Yeah, but this has worked before, and I don't see why it wouldn't do that in this version of Slackware too.
 
Old 06-27-2010, 10:12 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,494

Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
I would advise running the command "hal-device" and look for your USB HD device. If you posted what hal reported for that drive, we can perhaps give some pointers.
 
Old 06-28-2010, 04:18 AM   #5
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.1 multilib
Posts: 112

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Richard Cranium View Post
I would advise running the command "hal-device" and look for your USB HD device. If you posted what hal reported for that drive, we can perhaps give some pointers.
That is a very long listing, with several different entries for the HD. What should I search for if I want to see which permissions are set?

By the way, this is the mount information for the HD if that helps:
Code:
/dev/sdb1 on /media/Expansion Drive type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
 
Old 06-28-2010, 06:34 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,494

Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
I don't know what rule would apply without the details.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hal, usb, automount, etc. mrclisdue Slackware 4 02-08-2009 02:49 AM
*** USB external hard drive and USB memory stick linux_2007_ Linux - General 1 07-17-2007 04:20 PM
USB stick - hal-storage-removable-mount refused serge_shp Linux - Software 1 07-01-2007 06:53 PM
hal and usb stick xrado Slackware 7 11-03-2005 10:14 AM
usb stick automount mfrangos79 Linux - Hardware 9 09-19-2005 09:55 AM


All times are GMT -5. The time now is 02:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration