Weblogs for ostracon

Posted by ostracon on Mon 12 May 2008 at 16:54
Tags: none.

Samba server and smbmount client give me executable permission for all files on the share. How would I disable this undesired behavior?

Here is my mount syntax:

smbmount //server/share share
touch share/file.txt
ls -l share
-rwxr-xr-x 1 user user 0 2008-05-12 16:00 file.txt

I've tried the following /etc/samba/smb.conf parameters with no success:

[global]
  map archive = no
[share]
  create mask = 0660
  directory mask = 0770
  force create mask = 0660
  force directory mode = 0770

OS and all packages are all stock standard Debian Etch/stable:

Samba server:
  Samba 3.0.24-6etch9

Client PC:
  smbfs 3.0.24-6etch9

 

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search