Hi,
I have a question about file permissions and how they are affected by a
client's umask.
To illustrate my question, I issued the following commands first on a
local ext3 file system and
then on a cifs file system:
$ umask 0002
$ touch f1
$ echo xx f2
$ umask 0022
$ touch f3
$ echo xx f4
$
On Thu, Oct 09, 2008 at 12:58:41AM +1100, Gerry Marthe wrote:
The relevant section from smb.conf on the samba server is:
[common]
comment = Common Area
path = /common
read only = no
valid users = @users
create mask = 0660
force create
Hi Jeremy,
Thanks - that does make sense.
Can you tell me then why /bin/touch appears immune to the Samba
settings?
Gerry.
On Wed, 2008-10-08 at 11:48 -0700, Jeremy Allison wrote:
On Thu, Oct 09, 2008 at 12:58:41AM +1100, Gerry Marthe wrote:
The relevant section from smb.conf on the
On Thu, Oct 09, 2008 at 11:18:49AM +1100, Gerry Marthe wrote:
Hi Jeremy,
Thanks - that does make sense.
Can you tell me then why /bin/touch appears immune to the Samba
settings?
If you can make the CIFS client violate the
forced settings on the Samba server that's
a server bug and I'll fix
Yes Jeremy, it seems that I can make the CIFS client violate the
forced settings on the Samba server.
Specific example:
/* As root, issue the following mount command from client. */
mount.cifs //10.0.1.5/common /mnt/smb -o
rw,uid=500,user=abdv29,password=***
/* Switch user to abdv29 */
su