On Sun, 4 Feb 2001, Nick Berendsen wrote:
> I reported this before, I think it's a samba problem:
You did report it before, but it isn't a samba problem - I checked the
samba configuration and it is correct. Unfortunately I didn't check
further at the time, and didn't find the real problem.
> Here's a part of /etc/smb.conf
>
> [Primary]
> comment = Primary site
> path = /home/e-smith/files/primary
> read only = no
> writable = yes
> printable = no
> create mode = 0640
> force create mode = 0640
> directory mode = 0750
> force directory mode = 0750
>
> >> with file permission to 640 and dir permission 750 nobody can see my
> files!!
> >> (except me and my group). That's good voor private use, but I'm talking
> >> about Primary here...
The permissions are correct. Both "admin" and the group "shared" have
access to the files and directories in "primary" - that is sufficient.
The problem, BTW, is that some code which runs during post-upgrade sets
permission 0640 on /home/e-smith/files/primary/* - which is correct for
files, but incorrect for directories.
To correct on a running system, do:
chmod ug+x /home/e-smith/files/primary/foo
for each directory "foo". We'll fix it for rawhide and for 4.1.
Thanks for the reports and the testing.
Charlie Brady [EMAIL PROTECTED]
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
Phone: +1 (613) 368 4376 or 564 8000 Fax: +1 (613) 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada