Hi, 

Have just gotten home from a mini install fest of my own ... putting the latest 
Redhat version of their Enterprise server on a 5 - 6 year old IBM x series box. 
It was a last minute job from a client who has prevericated over this for a 
while. 

All went well despite the old gear (broken CD-ROM, sucky hard drive ...) except 
for two things.

1 - The red hat installer sucks. I ticked no firewall, no HTTP , no Sendmail 
and a few other options. did it listen to me? No way.  thankfully I am much 
more comfortable in Command line than gui anyway ... did most of the install 
from there. 

2 - Samba has changed - smbadduser is now gone ... it took me a while but I 
found that smbpasswd has an option for adding users built into it. It does 
however make the job of synchronising unix users to windows users to samba 
users a longer process. 

There is one change that I am sure i should have been able to resolve but my 
brain is too fried to think through now. 

They use an  accounting package which bases its files on the  Linux  server. 
When a user uses the system it works fine. when they try to re-index the system 
it changes the user permissions on the files. As an example. 

/Local/SybizDrive  - drwxrwxrwx   root:root
   datafile.dbf  -rwxrwxrwx     root:root

Smb.conf
   [sybiz]
        read only = no
        browseable = yes
        guest = no
        writeable = yes

   if Bob goes to reindex the files (using a Client on a windows PC accessing 
the files via samba) then the datafile.dbf ends up looking like the following
      datafile.dbf -rwxr- -r- -      bob:bob

The sybiz client then says bob is locked out from accessing that file .. tough 
luck try again later son.

I have tried making bob a member of the sybiz group and making the files set 
the permissions like
           datafile.dbf -rwxrwxrwx      root:sybiz

I have added in lines to smb.conf such as 
         group = sybiz
         user = root (or any othoer user)

but the file always ends up as    datafile.dbf -rwxr- -r- -      bob:bob

I know there is a way to get all newly created files given a set permission or 
standard permission , group and user but for the life of me my brain is too 
fried to remember how. 

If some one could show me where to rtfm or enlighten me some how my poor tired 
over worked head would be most appreciative. Either that or I will wake up in 
the morning and remember how to do it.  It is the last problem left in what has 
been a long and arduous weekend of bare metal server setup, fixing up crud, 
resetting up data and  transferring old data / permissions around (20 plus 
hours).

Regards, 

Shane

PS ... scp wasn't loaded as default either. it was quicker for me to get samba 
running than to try to get scp running on the RH box. grrrr!!!!. 

PPS Also the KDE CD (KLAX) didn't seem to include any ftpd type programs 
allowing me to pull the data instead of pushing it from the system. It seems 
very light on basic networking tools.

PPPS RH no longer calls its package manager the RPM package manager but now 
hides it as another name, something like program installer or something equally 
windows like. Bring back RH 7.3 / 9 .. please ...all is forgiven.... I don't 
want to relearn the new red hat.



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.15 - Release Date: 16/04/2005

Reply via email to