samba存檔時x屬性消失 - Linux

Table of Contents

如題,我習慣透過 samba 直接修改 server 的 CGI script,
但每次從客戶端存檔後,檔案的 x (執行) 屬性就被拿掉,
這樣就必須再去 chmod 才能執行,
不知如何設定才能解決此問題?


以下是原設定:

[myuser]
path = /home/myuser
browseable = yes
read only = no
create mask = 0644
directory mask = 2755
security = share # no password requirement

--

All Comments

Kumar avatarKumar2013-04-04
create mask改成0755