[linux-cifs-client] Re: [Fwd: linux-cifs-client Digest, Vol 35, Issue 14]

Ohad Lutzky lutzky at gmail.com
Thu Oct 26 15:51:05 GMT 2006


> >I use CIFS in order to share homes between Linux clients and
> >a Linux server. (Windows computers also use this share, and NFS isn't secure
> >enough). Permissions seem to be inconsistent:
> >
> >If I use touch/vim create a file, it gets normal permissions - 644.
> >But if I use wget/svn, it gets 755. Why? This is quite annoying with svn.
> >(chmodding later works)
> >
> >File mask stays default - I want the user to be able to make a
> >file executable if he wants.
> >
> >
> >
> What is the "create mask" in your server's smb.conf (if "create mask" or
> equivalent e.g. "create mode" is not specified in smb.conf, new files
> will get mode 744 - I usually make it 0777)?

Well, I left it at default, so it's 744 - but I don't want it to be that.

I want files not to be executable by default, but that a user will be
able to make them executable (just like normal filesystems)

-- 
Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm

Ohad Lutzky


More information about the linux-cifs-client mailing list