LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   HAL automount permissions differs between USB HD and USB memory stick (http://www.linuxquestions.org/questions/slackware-14/hal-automount-permissions-differs-between-usb-hd-and-usb-memory-stick-816609/)

Olaus 06-27-2010 06:12 AM

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?

yooy 06-27-2010 08:12 AM

One idea is to mount things manually

If you check folders with "df" and then try to chmod that folder. hope this helps.

Olaus 06-27-2010 08:15 AM

Quote:

Originally Posted by yooy (Post 4016270)
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.

Richard Cranium 06-27-2010 11:12 PM

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.

Olaus 06-28-2010 05:18 AM

Quote:

Originally Posted by Richard Cranium (Post 4016785)
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)

Richard Cranium 06-28-2010 07:34 PM

I don't know what rule would apply without the details.


All times are GMT -5. The time now is 03:32 PM.