mgh;202553 Wrote: 
> 
> [EMAIL PROTECTED]:~$ ls -l /media/SimpleDrive
> total 16
> dr-x------ 1 mike mike 4096 2007-05-08 18:38 back up
> dr-x------ 1 mike mike 8192 2007-05-09 17:20 music
> 

This is the problem. The "music" directory is owned by the user "mike",
and belongs to the group "mike".

The d means directory

The r-x means that the user ("mike") can read files in the directory
(r), can't write anything to the directory (- instead of w), and can
list the contents of the directory (x)

The first --- means that members of the "mike" group have no access to
the folder, and the second --- means that all other users also have no
access.

Since slimserver is probably running as the user "slimserver" and
doesn't belong to the "mike" group, it fits into the category of "all
other users" and therefore doesn't have access to the drive.

To fix this, you need to adjust the automount system to mount that
drive with a less secure umask (it's currently set to 200; try changing
to 222). In English, that means that when the drive is mounted, the
permissions will be more relaxed (specifically, a umask of 222 gives
permissions of r-xr-xr-x) and slimserver will be able to access the
music. I'm not sure how to do this in ubuntu, but it's probably not too
hard; I think Mark did something similar recently so he may be able to
help.

Alternatively, if the drive's permanently plugged in, you don't
actually need to automount it - you could mount it at boot time. This
could be as simple as adding this entry into /etc/fstab:
/dev/sda1  /media/SimpleDrive  vfat    users,umask=222       0 0

However, I recommend that you look at the automount permissions - it's
more hassle, but it won't break if another hot-pluggable device becomes
/dev/sda1


-- 
bukharin
------------------------------------------------------------------------
bukharin's Profile: http://forums.slimdevices.com/member.php?userid=10859
View this thread: http://forums.slimdevices.com/showthread.php?t=35254

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to