Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-02-2006, 05:55 PM   #1
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
Access shared samba dir that is on other partition

Iam using samba and Ive got two shared folders one on the linux filesystems and another one on a fat32 share on the same HDD but on another partiton.The prob is that I have two shared folders both with the right permissions on samba one on /dev/hdc5 is working correctly and the other one on /dev/hdc1 which I cant access..How should I change fstab "or anything else" so that I can set the permissions of the share on the vfat partiton so that I can access it through samba

Below are some "partial screen dumps" I can access [test file] but i can not access [public file]

[public file]
comment = Shared Files
path = /windows/ftp/fileserver/public
readonly = no
public = yes
writable = yes
guest ok = yes

[test file]
path = /home/ftp/ali
readonly = no
public = yes
writable = yes
guest ok = yes

NOCCBOX-MoreTech:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdc5 5020512 640756 4124728 14% /
tmpfs 63064 0 63064 0% /dev/shm
/dev/hdc1 13465320 4199768 9265552 32% /windows

NOCCBOX-MoreTech:~# cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdc5 / ext3 defaults,errors=remount-ro 0 1
/dev/hdc1 /windows vfat defaults 0 2
Old 04-03-2006, 12:02 AM   #2
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
Your Samba config looks correct. Make sure that your vfat partition is mounted read-write and that you can access it from your Linux account. Next check the file permissions and if your Samba users would not be allowed to access the vfat partition if logged in to the Linux box, consider using 'force group' or 'force user' in the Samba config to make all accesses via Samba use a particular group or user account.


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
no access to shared directories with samba Meriadoc Linux - Networking 1 03-13-2005 07:42 AM
Samba 2.2.8 - Unable to access shared resources takatam Linux - Networking 2 08-10-2004 06:22 AM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 08:54 PM
Samba / XP login failures while tring to access shared files (works with win2k) Zero-0-Effect General 2 01-24-2004 10:27 PM
setting up Samba so i can access a dir from my other Windows PC's andara Linux - Newbie 3 11-21-2003 01:39 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration