[clug] Problems with Samba and Win2000
jimadiva
jim at adiva.com
Tue Oct 21 14:17:18 GMT 2008
Hi Peter,
Thanks for the quick response. I fiddled a bit with the "Create" settings
and can easily see the difference in settings and permissions whenever I
create a file on an XP or Vista system. The problem only appears when I try
to create a file from the Win2000 system.
I changed my smb.conf shares to look like this....
[server]
comment = Main Server Directory
path = /server
public = yes
writeable = yes
printable = no
create mode = 0775
oplocks = False
level2 oplocks = False
Notice I changed "mask" to "mode" and the value is now 0775. Saving a file
on the Linux system from Windows XP and Vista generates a file with the
following permissions....
-wrxrw-rw-
Saving a file on the Linux system from Win2000 generates a file with the
following permissions...
----------
Why would it work so well with the WinXP and Vista files and be totally
screwed with the Win2000 files? What am I missing here?
Jim
Peter Barker-2 wrote:
>
> On Mon, 20 Oct 2008, jimadiva wrote:
>
> ...
>
>> [homes]
>> comment = Home Directories
>> browseable = no
>> writeable = yes
>> valid users = %S
>> create mode = 0664
>> directory mode = 0775
>
> create mode....
>
>> [server]
>> comment = Main Server Directory
>> path = /server
>> public = yes
>> writeable = yes
>> printable = no
>> create mask = 777
>> oplocks = False
>> level2 oplocks = False
>
> create mask.
>
> Could the difference between "mode" and "mask" be confusing things here?
>
> Typically a mask of 777 will give you the permissions you mentioned (i.e.
> lots-of-dashes :)
>
> Yours,
> --
> Peter Barker | Programmer,Sysadmin,Geek.
> pbarker at barker.dropbear.id.au | You need a bigger hammer.
> :: It's a hack! Expect underscores! - Nigel Williams
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux
>
>
--
View this message in context: http://www.nabble.com/Problems-with-Samba-and-Win2000-tp20078823p20091229.html
Sent from the Samba - linux mailing list archive at Nabble.com.
More information about the linux
mailing list