[Samba] Weird permissions problem

Samba user Samba.99.spammy69 at spamgourmet.com
Wed Mar 9 23:51:05 UTC 2016

So I just discovered that if I do...

smbpasswd -x myuserid
smbpasswd -a myuserid

didn't change anything.

But then if I stop/restart smb, it works fine again for me to access my 
700 mode files.

So...What's going on here?

Why is the smb passwd database getting corrupted?

Why do I have to stop/restart smb to get it to recognize the change?

On 3/9/2016 4:52 PM, Samba user wrote:
> I could still really use some help here....
> After spending hours on this, I have determined that it's only my user 
> account that is having this problem.  Everyone else can access 700 
> files/directories owned by them just fine.
> Thinking of perhaps a UID conflict somewhere, even though there didn't 
> appear to be one, I deleted my account and recreated it with a new 
> UID, copied everything over into the new home directory, chowned all 
> the files and everything was working great!  Awesome!
> For about a week.  Now, it's broke again.  Everyone else can access 
> their 700 file/directories, except me.  I need 770.
> I'm by far the most active user, using multiple systems and moving a 
> fair amount of data.
> Is something in a tdb database getting corrupt?  Restarting the 
> clients and the Samba server have no affect.
> Getting desperate here...

More information about the samba mailing list