LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba and FAT32 Partitions (https://www.linuxquestions.org/questions/linux-networking-3/samba-and-fat32-partitions-84238/)

Seppel 08-21-2003 12:42 PM

Samba and FAT32 Partitions
 
Hi there,

I use Linux (Slackware 9.0) and Win2kPro on the same PC, my MP3s are stored on a FAT32 formatted partition to keep them available from both OS.

Am I able to share my (mounted) mp3 partition with samba in the local network?

The problem seems to be the chmod (which, of cource, is not possible to change in FAT32 - or am I wrong?) of the mp3 partition - it shows CHMOD 744 for all files and directories.

If you need my smb.conf or any other file, just reply and I'll put it here.

Many thanks!

Seppel

Neo_the_one 08-22-2003 12:33 AM

add the normal user to a specfic group say samba and

# chgrp samba /mnt/Windows/mp3
# chmod g+s /mnt/Windows/mp3
( don't forget to add Seppel to the group samba and in the smb.conf, in the mp3 share add this line
valid users = @samba)

Seppel 08-22-2003 01:07 AM

Sorry to be nerving again...

I'm an almost complete n00b to Linux...

where to set up user groups (like Samba) and how to add Users to Groups?

Seppel

PS: The local net sharing of (ReiserFS) directories with chmod 755 works very well... :-)

exodist 08-22-2003 01:35 AM

it is possible, edit the /etc/samba/smb.conf file with a text editor.

Seppel 08-22-2003 02:47 AM

Sorry, I asked the wrong question - i wanted to know how to do it.

RTFM?

Seppel

richard22 08-22-2003 04:26 AM

You could try adding to fstab
/dev/fatdriveid /mntpointonyourmachine/ vfat /defaults,user,umask=0000 0 0
This mounts the fat drive to a mount point giving read and write access.

You can access the drive from another machine as a user through samba if you mount it to your home directory or as a guest if you set it up in the config.

I am no expert but it works for me.

Richard


All times are GMT -5. The time now is 10:36 AM.