[Samba] Directories marqued as read only

Buchan Milne bgmilne at cae.co.za
Tue Feb 11 11:28:11 GMT 2003


> Date: Mon, 10 Feb 2003 19:41:07 -0000
> From: "Sylvio Bardes" <sb_mailinglist at vigneras.net>
> To: <samba at lists.samba.org>
> Subject: [Samba] Directories marqued as read only
> Message-ID: <001601c2d13c$5af0d210$0302a8c0 at livingstone>
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> MIME-Version: 1.0
> Content-Transfer-Encoding: quoted-printable
> Precedence: list
> Message: 13
> 
> I am using samba 2.2.6pre2 from mandrake 9.0,

Please run updates, or consider using smaba-2.2.7a-3mdk from here:

http://ranger.dnsalias.com/mandrake/mandrake9.0/samba-2.2.7a

(more updates will be coming sometime ...)

> I've set it up as PDC,

You're missins a netlogon share ..

You may want to take a look at
http://www.mandrakeuser.org/connect/csamba6.html

> 
> When I share directories, their properties are read-only, even if I have =
> the read/write permissions on the files. I'm able to =
> rename/delete/create...

You're going to have to give more detail here on exactly what you can't
delete, and what it's unix permissions are, and what the permissions of
it's parent directory are.

> 
> It's a probleme for certain programs who check the file permission =
> before some actions,
> 
> Thanks for your help,
> 
> 
> here is my config file:
> 
> # Samba config file created using SWAT
> # from 0.0.0.0 (0.0.0.0)
> # Date: 2003/01/15 09:03:38
> 

The default config works out the box ... and has many cool examples, but
you've trashed them now ...

If you run updates though, you will get a new one in
/etc/samba/smb.conf.rpmnew which you may want to look at in a text
editor (kate or vi do fine).

> # Global parameters
> [global]
> 	workgroup =3D 98YS
> 	netbios name =3D SERVER
> 	server string =3D Samba Server %v
> 	encrypt passwords =3D Yes
> 	min passwd length =3D 0
> 	null passwords =3D Yes
> 	log file =3D /var/log/samba/log.%m
> 	max log size =3D 50
> 	socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192
> 	printcap name =3D lpstat
> 	logon path =3D=20
> 	logon home =3D=20
> 	domain logons =3D Yes
> 	os level =3D 99
> 	preferred master =3D True
> 	domain master =3D True
> 	dns proxy =3D No
> 	wins support =3D Yes
> 	force create mode =3D 0755
> 	force directory mode =3D 0755
> 	printing =3D cups
> 
> [homes]
> 	comment =3D Home Directories
> 	read only =3D No
> 	create mask =3D 0774
> 	force create mode =3D 0775
> 	directory mask =3D 0775
> 	force directory mode =3D 0775


-- 
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7



More information about the samba mailing list