group membership and access to files from NT

Anthony Staines anthony.staines at ucd.ie
Tue Oct 2 08:46:04 GMT 2001


Hi,
I have Samba (samba-2.2.1a) set up and working on RedHat 7.1 on a 
server. My only goal at present is to have access to the server's disks 
from my (WinNT SP6) desktop.

My home directory is fine. I can read, edit, create and delete files 
from my Windows NT pc, and there's no problem. My own files have 
ownser::group  username::username in the usual RedHat style.

The website files have ownership nobody::nobody as commonly recommended. 
I can see the fles and open the files from the PC, but I can't edit and 
save the files, or create new files. I *am* a member of the nobody 
group, and can edit, create etc... these files quite happily when logged 
in to the server as me.

I *can* fix this by taking ownership of the files on the server, by 
changing their ownership to username::username. When I do this all is 
well. I can then edit away to my hearts content. I don't *want* to do 
this for other reasons.

Any suggestions??

Anthony Staines.
--smb.conf--
global] 
workgroup = XXXXXXXXXXXXXXXX
	security = user
	server string = XXXXXXXXXX	
	encrypt passwords = yes
         security = server
[homes] 
guest ok = no
	invalid users = root wheel
	read only = no
[www] 
path = /XXXXXXX/XXXXXXXXX/
	dos filetimes = true
	follow symlinks = no
	guest ok = no
	valid users = XXXXXXXX 			(me!)
	read only = no
-- 
Anthony Staines, Lecturer in Epidemiology, Department of Public Health,
   UCD, Earlsfort Terrace, Dublin2, Ireland.
   E-mail :- Anthony.Staines at ucd.ie Web :-http://astaines2.ucd.ie/
     Work :- + 353 1 716 7345       Fax :- +353 1 716 7407
     Home :- + 353 1 849 1089    Mobile :- +353 1 86 606 9713	





More information about the samba mailing list