Bug 5077 - File permissions problems
Summary: File permissions problems
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.26a
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-12 08:07 UTC by Phil Lavin
Modified: 2021-01-04 16:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Lavin 2007-11-12 08:07:05 UTC
I belive this is a bug but correct me if I'm wrong...

I have a directory, /80gb/, which has the ownership nobody:smbers and the permissions 075. I have in this directory files and directories with the same ownership/permissions.

My user, phil, is in the smbers group and can delete files and directories fine via the command line (ssh). When logged into Samba as phil, I can upload and download files perfectly fine. However, any file that has the above permissions cannot be deleted over smb - I get a permission denied message.

Changing the permissions to 175, 475 doesn't give me a permission denied message however the file isn't actually deleted. Changing the permissions to 775 does allow deletion. A permission change to 575 gives the error message again.

This is the case whether the file is owned by nobody or any other user on the system. Although if the file is phil:smbers 075 doesn't give the access denied error message as it did before.

As I said, the operations work fine from the command line so it doesn't appear to be a file system issue.

My OS is Debian Testing.

Phil
Comment 1 Björn Jacke 2021-01-04 16:56:02 UTC
looks like a user/group/idmap configuration issue, not a bug