odd error between vfat and samba

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Thu Apr 26 03:52:45 GMT 2001


Hi Tim,
sorry, I'm stumped.  I don't have that type of linux to test it myself on,
but what you are saying as far as ownership and permissions makes sense.
Maybe you could set log level = 10 and log file = ...../log.%m  and
reproduce.
then take a look at the resulting log file and verify that you are really
being authenticated and connected to the share as the user you THINK you
are...
Also you could use smbstatus and verify the unix user that is being
connected is who you expect...
The log file should show WHAT is happening at the 800 kb limit that you seem
to be experiencing....
Hope this helps
Don

-----Original Message-----
From: Timothy Ball [mailto:timball at tux.org]
Sent: Tuesday, April 24, 2001 19:26
To: MCCALL,DON (HP-USA,ex1)
Cc: samba at samba.org
Subject: Re: odd error between vfat and samba


[Note please Cc: timball at tux.org as I am not on the samba mailing
list... but if this problem persists I think I may end up signing up]

Well I do not have quota installed on the machine (and it's not enabled
in the kernel) but I did what you suggested and tryed to create and
delte files just on the regular fs as a user... it works great. (the
directory in question is my /mnt/mp3s directory and has persmissions
like this:

drwxrwsr-x   23 smbuser  audio        4096 Apr 24 19:11 /mnt/mp3s

/mnt/mp3s is vfat partition that I've mounted w/ the appropriate uid,
gid, sgid, and umask=002, noexec options. As long as a user is in the
"audio"
group he/she should be able to create a file in /mnt/mp3s with 664
permissions. (I figure this is the "correct" unix way of it all.) 

I'm still in the dark (though I'm beginning to suspect vfat is the
culprit, but I'm unsure of how to debug it.)

--timball

On Tue, Apr 24, 2001 at 06:15:40PM -0400, MCCALL,DON (HP-USA,ex1) wrote:
> It almost sounds like a hard and soft quotas limit on the linux side - any
> chance that you have quotas enabled on the fs that you are sharing????
Try
> the following;
> after you have connected to the share in question from your windows
machine,
> use smbstatus to take a look at the actual linux user that you are
connected
> as.
> THEN login to your linux server AS the same user, and try to create a file
>
> 800kb on that filesystem that you were accessing from windows.  If you
CAN,
> then you have a good suspicion the problem is with the windows access to
the
> linux fs via samba.  If you CAN't, then you can start poking around about
> quotas, etc for that user from the linux side.
>
> -----Original Message-----
> Setup:
> Samba 2.0.7 (from debian sid), Linux 2.4.3-XFS, Window95, Windows98
> 
> Problem:
> I have a linux machine that I occationally duel boot and I wanted to be
> able to share my mp3s directory to my roomate via samba. I figured I'd
> just make a partition vfat and have both linux and windows export that
> directory... but under linux there seems to be an odd issue w/ creating
> a file larger than 800K on the samba share. 

-- 
	Send mail with subject "send pgp key" for public key.
pub  1024R/CFF85605 1999-06-10 Timothy L. Ball <timball at sheergenius.com>
     Key fingerprint = 8A 8E 64 D6 21 C0 90 29  9F D6 1E DC F8 18 CB CD




More information about the samba mailing list