Opened 8 years ago

Closed 8 years ago

#277 closed defect (invalid)

Can't delete files on server

Reported by: Neil Waldhauer Owned by:
Priority: minor Milestone:
Component: Unknown Version: Server 3.6.x
Keywords: Cc:

Description

I migrated my samba server from 1.1.4 to 1.3.0. Users and Groups, Shares all seem to be fine. The only problem so far is that I can't delete files.

I have tried from eCS samba client version 2.1 (oct 3, 2016) and also File Browser on the iPhone. Same result -- access denied.

Server 1.1.4 allowed deletion.

What can I provide that would help find out what is wrong?

Attachments (4)

smb.conf (3.1 KB ) - added by Neil Waldhauer 8 years ago.
log.smbd.zonker.192.168.46.19 (206.7 KB ) - added by Neil Waldhauer 8 years ago.
server log during delete attempt
group (239 bytes ) - added by Neil Waldhauer 8 years ago.
master.passwd (559 bytes ) - added by Neil Waldhauer 8 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 by Herwig Bauernfeind, 8 years ago

In order to look into this we need:

1.) Server smb.conf 2.) Server side loglevel 10 logs 3.) Client side logs, loglevel 10

Shots into the dark:

  • The share isn't set readonly by accident?
  • The users are members of the proper groups (not guest only)?

by Neil Waldhauer, 8 years ago

Attachment: smb.conf added

by Neil Waldhauer, 8 years ago

server log during delete attempt

comment:2 by Neil Waldhauer, 8 years ago

I have added smb.conf and the server log. I'm not sure where to look for the client log.

I don't think the share is read-only. I know little of users and groups. The user, zonker, is a member of Domain Users.

Thanks for your help.

comment:3 by Herwig Bauernfeind, 8 years ago

Your smb.conf is ok, definitely. Could you also post your master.passwd and group file, please? Just to be sure.

by Neil Waldhauer, 8 years ago

Attachment: group added

by Neil Waldhauer, 8 years ago

Attachment: master.passwd added

comment:4 by Neil Waldhauer, 8 years ago

Group and master.passwd are attached.

Thanks for helping me with this.

comment:5 by Herwig Bauernfeind, 8 years ago

Your users are not groupmembers. They should be. Only exception being root, which is (and should be) Member of admin.

Your UID and GID are not unique per user in master.passwd. They should be.

Not sure whether that is responsible for what you see.

comment:6 by Herwig Bauernfeind, 8 years ago

Please take a look at Ticket #278, whether it applies to you eventually.

I realized it might be the explanation for your problem after I filed (and fixed) it.

comment:7 by Neil Waldhauer, 8 years ago

I tried to recreate the users cleanly, but I still get access denied on delete.

I looked at Ticket 278, and it would apply, because I was using DHCP. I have changed to static, and I've tried altering b4smb.cmd, but I'm still stuck with the access denied message when I delete.

I've tried evfs client on different machine or the same, and an iOS client on iPhone with the same result.

comment:8 by Neil Waldhauer, 8 years ago

I installed eCS on a fresh partition, and installed SAMBA 1.3 with no prior information about users and groups. So far, I can delete files. I do not have so many users, so typing in their credentials one time is not a big deal.

The new server installation works OK, even on DHCP.

comment:9 by Herwig Bauernfeind, 8 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.