[Samba] cant set read-only attr. on office files in 1 share.

rmi rmi at open-challenge.nl
Tue Dec 2 16:03:37 GMT 2003


Oops... Best comment to this is RTFM :P
Chapter 13 of the howto explained my fault.
With the following settings is works great :)
srry for the spam

grtz

rmi

[oc_data]
 comment = OCH Data
 path = /opt/oc/oc_data
 valid users = @oc_med
 admin users = @symas
 read list = @oc_med
 write list = @oc_med
 read only = No
 create mask = 0770
 security mask = 0770
 directory mask = 0770
 directory security mask = 0770

It works now.

----- Original Message ----- 
From: "rmi" <rmi at open-challenge.nl>
To: <samba at samba.org>
Sent: Monday, December 01, 2003 2:03 PM
Subject: [Samba] cant set read-only attr. on office files in 1 share.


Lo folks,

I have samba3 running on my redhat 8 system.
Two shares are available: my "main" share and my "homes" shares.
I cant set read-only attr on office files on my main share.
But i can set them in my homes share.

Ive read something about a bug beeing fixed in 3.0.1 but then i shouldnt
be able to set read-only in my homes share ...or am i mistaking ?

There is however 1 difference between these 2 shares. the "main" share has
POSIX ACL's on the files and the "homes" share doesnt have them.
POSIX ACL's are working perfect btw. Any1 got a clue on how to tacle this
issue....

Thx in advance

My smb.conf is this:

[global]
workgroup = GENERAL
server string = Samba Server
security = DOMAIN
password server = 192.168.16.5
passdb backend = tdbsam:/usr/local/samba/private/passdb.tdb
log level = 5
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
show add printer wizard = No
preferred master = No
domain master = No
dns proxy = No
wins support = Yes
ldap ssl = no
template homedir = /opt/oc/home/%D/%U

[homes]
comment = Home Directories
read only = No
veto files = /.??*/
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[main]
comment = OCH Data
path = /opt/oc/oc_data
valid users = @oc_med
admin users = @symas
read list = @oc_med
write list = @oc_med
read only = No
create mask = 0770
force create mode = 0770
directory mask = 0770
force directory mode = 0770
inherit permissions = Yes
map acl inherit = Yes
veto files = /lost+found/
hide files = /lost+found/


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list