LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2006, 04:55 PM   #1
ALInux
Member
 
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 ..it 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-02-2006, 11:02 PM   #2
centauricw
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:30 AM.

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