|
#1
|
|||
|
|||
|
Hi folks,
Managed to upgrade to 7.4.1 but it can't see my USB drives any more? The drives are automounted in the desktop (Gnome?) but don't think they have the right permissions? Code:
lrwxrwxrwx 1 root root 6 2009-07-08 20:10 cdrom -> cdrom0 drwxr-xr-x 2 root root 4096 2009-07-08 20:10 cdrom0 drwx------ 1 paul paul 8192 2009-11-03 19:30 Music drwx------ 1 paul paul 4096 2009-09-07 13:39 Video Any thoughts anyone? So what was supposed to be switch on the SB to listen to music to do the washing up has turned into 45 minutes arsing around ![]() Any help would be greatly appreciated! Cheers, Paul.
__________________
last.fm |
|
#2
|
|||
|
|||
|
I think that theres a problem with automounting and squeezecenter.
I added this to my fstab when I was having the same problem (where sdc1 is my usb drive): /dev/sdc1 /mnt/media/music vfat users,umask=1000,rw,noauto 0 0 where the plural "users" gives read/write access to all users and it disables the automount of the USB drive. Probably not secure, but I use the drive for watching movies as well and if I set it to mount using the squeezeboxserver user id it stopped my xbmc accessing the drive as well.
__________________
Source: Squeezebox 3 Amp/Speakers: Meridian M30 Phones: Grado SR-60s Headphone Amp: Pro-ject Headbox II http://www.last.fm/user/chn68b Last edited by chn68b; 2009-11-24 at 05:47. |
|
#3
|
|||
|
|||
|
Yeah there really should be a guide on sharing USB drives for other users on linux.
It's standard on Ubuntu to mount drives as the current user....which SBS can't see....bit dumb if you ask me. Cheers for the suggestion, I found some stuff about altering the default mount options for USB drives so going to give them a try
__________________
last.fm |
|
#4
|
||||
|
||||
|
I had never had an issue with this, and now with 9.10 and 7.4.1 voila! SBS does not see my USB drive, either. I have tried several things to no avail.
Since I installed SBS from my user id, it seems utterly asinine for SBS to want to be a different user and have drives mounted on it... The tricks in Ubuntu forums aren't working. And of course the password to the sbs user isn't readily available, which probably would be the easiest way to get this accomplished. Dammit.
__________________
...pablo Server: Shuttle X27D - Ubuntu 10.04LTS - SBS 7.5.0 Sources: SB3 (3), SB Boom (3), Duet (1), Radio (1), Accuphase DP65v CD (used as DAC mostly) Amplifiers: Accuphase E306v - Creek OBH21/22 Loudspeakers: Ceeroy 3-way tower (tuned) - Audioengine 5/S8 - Acoustic Energy Aego M Headphones: Grado SR-1 |
|
#6
|
||||
|
||||
|
I posted some advice in a different topic in here.
I reverted back to an old install, even though I got everything to work. I was just not happy with certain aspects of deploying 9.10 on this machine - it seemed more sluggish, and the Firefox 3.5 fonts looked very jagged to my eye. Something isn't quite right about it when it comes to running it on this particular computer... I have left it on others though.
__________________
...pablo Server: Shuttle X27D - Ubuntu 10.04LTS - SBS 7.5.0 Sources: SB3 (3), SB Boom (3), Duet (1), Radio (1), Accuphase DP65v CD (used as DAC mostly) Amplifiers: Accuphase E306v - Creek OBH21/22 Loudspeakers: Ceeroy 3-way tower (tuned) - Audioengine 5/S8 - Acoustic Energy Aego M Headphones: Grado SR-1 |
|
#7
|
|||
|
|||
|
to get this to work so far I've done this:
into terminal then: sudo fdisk-l this returned the drive info I needed, my usb drive being "sdc1", then I needed to find the uid details for the user "squeezeboxserver" which is the default user id for the program, to do this do the following: id squeezeboxerver this returned a uid of 113 and a gid of 65534 (needed for squeezecenter to have permission to see it) I unmounted the drive from the desktop then back into terminal sudo mount -t vfat /dev/sdc1 /media/external -o uid=113,gid=65534,utf8,dmask=027,fmask=137 Reopened squeezebox and had to point it to a new location initially (don't know why) started a scan on the new folder (with no music in it) aborted the scan and then pointed it back to the usb drive and it worked fine.
__________________
Source: Squeezebox 3 Amp/Speakers: Meridian M30 Phones: Grado SR-60s Headphone Amp: Pro-ject Headbox II http://www.last.fm/user/chn68b Last edited by chn68b; 2009-11-28 at 07:11. |
|
#8
|
|||
|
|||
|
I'm guessing you guys fixed this in the end...?
..but rather than give that drive sole access to the squeezeboxserver 'user', why not just add the user 'squeezeboxserver' to the group 'users', then give read/write access to that group on that drive (as normal)? In OpenSuse there's a graphical way to do it, but I don't know about Ubuntu... The command line for this would be something like: sudo usermod -g users squeezeboxserver ^ ^ group to add squeezeboxserver to But check your man pages to be sure...could also use 'useradd -g' I think... That's what I did anyway and it works fine for me - except for the playlist directory which I just chown'd to squeezeboxserver:users. Hope this helps, Cheers Jim |
|
#9
|
|||
|
|||
|
The problem is the automount used by Gnome, there are no group or world permissions given and you can't change any of them.
I need to do a clean install of 9.10 this weekend as everything seems to be going wrong with it. I'll also disable the auto mount and add the stuff to me fstab file instead
__________________
last.fm |
|
#10
|
|||
|
|||
Sounds like a good idea.grrr that pesky Gnome causing grief again... ![]() Cheers Jim |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -7. The time now is 20:41.







Sounds like a good idea.
Linear Mode

