1822420 Members
3112 Online
109642 Solutions
New Discussion

Samba Share Change

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Samba Share Change

Hi All,

Yes its saturday and I am sure someone from the IT biz will be here. IOff hours are a part of life for 20 years or so.

Ok,

I am running samba 2.2.8a, yes, on RH9 Linux.


One of my samba shares are corrupt. When I made a permission change 'force user = psoft'
I opened the door for everyone that has access to the top level share. I removed the entry but somwhow it wont revert back. So, what I want to do, is copy all of the data from the bad 'hrprd' share > 'hrprdnew'. then stop samba, switch the names, start samba and regrant all group permissions. See, we run samba on linux and control it through the NT domain and it works well after 2 months of setup. Will this switch work OK? Is there anything I am not seeing here? This is a production share for critical data, so of course I am a little nervous. Help is always appreciated here.

10x

RPM
UNIX IS GOOD
1 REPLY 1
Steven E. Protter
Exalted Contributor
Solution

Re: Samba Share Change

Check and see of the swith resulted in a change in the permissions on the top level share.

This seems to be an unintended effect of your setup letting NT control the Linux shares.

I'm betting permissions got openned up good and wide. NT and Windows operating systems are not designed to control access rights on Linux file systems, even though it obvoiusly can.

I would stop samba, correct the permissions if they are messed up and fix them. See if that helps.

Back the data up a few times first.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com