force user/group, force create mask, etc...

Alan Halachmi alan at halachmi.net
Mon Aug 28 16:38:08 GMT 2000


Folks,
	I'm hoping that someone out there can show me the error in my
ways...  When I put files to \\server\web the force user, force group,
create mask, force create mode, force directory mode, and inherit
permissions don't seem to have any effect:
[Web]
        comment = Web Directory
        path = /export/www
        valid users = tom, dick, harry
        admin users = tim
        force user = www
        force group = www
        writeable = Yes
        create mask = 0755
        force create mode = 0755
        force directory mode = 0755
        inherit permissions = Yes
        max connections = 2
        case sensitive = Yes
        utmp = Yes

11:33am server:harry ~$touch test
11:33am server:harry ~$smbclient '\\sphinx\web'
added interface ip=xxx.xxx.xxx.5 bcast=xxx.xxx.xxx.255 nmask=255.255.255.0
Password: 
Domain=[SERVER] OS=[Unix] Server=[Samba 2.0.7]
smb: \> cd htdocs
smb: \htdocs\> put test
putting file test as \htdocs\test (0 kb/s) (average 0 kb/s)
smb: \htdocs\> quit
11:34am server:harry ~$ls -la /export/www/htdocs/test
-rwxr--r--   1 root     adm            0 Aug 28 11:34 /export/www/htdocs/test
11:34am server:harry ~$uname -a
SunOS server 5.8 Generic sun4u sparc SUNW,Ultra-5_10

Any thoughts?

Alan





More information about the samba mailing list