Craig White
2005-Nov-13 02:56 UTC
[Samba] Can't connect to smb share that's a mounted file system
On Sat, 2005-11-12 at 20:44 -0600, Mike Hanby wrote:> Howdy, the path statement in the smb.conf file is using Unix pathing. > > path = /backup > > I tried adding the "guest only = yes" to the [netfiles] section and it > didn't change anything. > > Here's my [netfiles] section again: > [netfiles] > comment = Network file storage space > path = /backup > read only = no > guest only = yes > public = yes > > Basically, what it's boiling down to is, I can create smb shares on my main > drive, /dev/hda1, and access them fine from my XP system. It's only when I > try to access a share that points to a mount on my alternate hard drive > /dev/hdc1 is when I get the password prompts / error messages. > > I'm thinking it's a file system permissions problem, but looking at the > permissions I don't see a difference between ones that work and those that > don't :-( >---- Ok well you're not sharing some of that information so I can only speculate but is /dev/hdc1 ... is that ext2/ext3 ? running the command 'mount' would give that info. I'm wondering if it's some NTFS or vfat mounted as a user that wouldn't have permissions. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Mike Hanby
2005-Nov-13 05:17 UTC
[Samba] Can't connect to smb share that's a mounted file system
It's ext3 (In the original post I included the make file system command): # mkfs.ext3 -L /backup /dev/hdc1 If I do an ls -ld /backup before mounting and after mounting, the permissions look the same to me, obviously I'm missing something but I can't find it! -----Original Message----- From: Craig White [mailto:craigwhite@azapple.com] Sent: Saturday, November 12, 2005 20:56 To: Mike Hanby Cc: samba@lists.samba.org Subject: RE: [Samba] Can't connect to smb share that's a mounted file system On Sat, 2005-11-12 at 20:44 -0600, Mike Hanby wrote:> Howdy, the path statement in the smb.conf file is using Unix pathing. > > path = /backup > > I tried adding the "guest only = yes" to the [netfiles] section and it > didn't change anything. > > Here's my [netfiles] section again: > [netfiles] > comment = Network file storage space > path = /backup > read only = no > guest only = yes > public = yes > > Basically, what it's boiling down to is, I can create smb shares on mymain> drive, /dev/hda1, and access them fine from my XP system. It's only whenI> try to access a share that points to a mount on my alternate hard drive > /dev/hdc1 is when I get the password prompts / error messages. > > I'm thinking it's a file system permissions problem, but looking at the > permissions I don't see a difference between ones that work and those that > don't :-( >---- Ok well you're not sharing some of that information so I can only speculate but is /dev/hdc1 ... is that ext2/ext3 ? running the command 'mount' would give that info. I'm wondering if it's some NTFS or vfat mounted as a user that wouldn't have permissions. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.