Displaying 2 results from an estimated 2 matches for "unix_perms_from_wire".
2005 Apr 01
1
Permissions assignment problem
...ux 2.6.x client
with the cifs.ko kernel module/filesystem type.
I've found that I can't change the permissions on files to arbitrary
values; they must not be greater than the bits specified in 'create
mask' (and friends). The problem appears to be
source/smbd/trans2.c:795 (function unix_perms_from_wire); I think it's
applying lp_create_mask unconditionally (instead of just applying it
when a file's being created - I suppose it doesn't know one way or
another, of course).
If anybody would like more information, then by all means just say so. I
have attached my complete smb.conf for re...
2004 Jul 20
0
chmod and unix extensions
...sk = 0777" in the
server's smb.conf. Now, this is confusing me as the file isnt being
created, I'm just trying to chmod an existing file. I dont want to
leave the setting as this because of course all new files get created
with world read-write which is not what I want.
Looking at the unix_perms_from_wire() function, it would seem it is
indeed applying the create mask.
As an aside, changing permissions from a W2K ACL dialogue seems to work fine.
Any ideas anyone?
Samba version: 3.0.4
Some relevant settings from smb.conf:
# testparm -v | egrep '(force|security|mask|unix extensions)'
Load...