Open
Bug 921742
Opened 11 years ago
Updated 9 months ago
TB24/WinXP .msf rebuild changes owner and permissions on Samba4.0.9/CentOS6.4 fileshare
Categories
(MailNews Core :: Database, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: kev, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130814063812
Steps to reproduce:
Set up Samba fileshare. Migrate Windows Thunderbird profile to fileshare. chmod 777 and chown 1128:513 all files in mailbox dir. Launch Thunderbird and either context-Compact or File->Compact Folders.
Actual results:
(some?) rebuilt .msf and mailbox files are now 3000000:3000001 and 700 instead of 1128:513 and 777 when listed locally on the fileserver.
Expected results:
The owner and permissions should not have changed, I think.
Comment 1•11 years ago
|
||
At Linux server where SAMBA runs, permission or user/group of a file in file system of Linux is for control on local file access on Linux server. And who accesses the file(group/user on Linux server) are; An Linux user, batch process on Linux, SAMBA, and so on.
i.e. rwx means "SAMBA can read/write/execute the file at the Linux machine".
Following is NET USE command syntax on Win(SMB client command).
> net use /?
> The syntax of this command is:
> NET USE
> [devicename | *] [\\computername\sharename[\volume] [password | *]]
> [/USER:[domainname\]username]
> [/USER:[dotted domain name\]username]
> [/USER:[username@dotted domain name]
> [/SMARTCARD]
> [/SAVECRED]
> [[/DELETE] | [/PERSISTENT:{YES | NO}]]
IIUC, "USER" in above command is "user defined in LAN Manager, SAMBA, etc. who runs on file server", and access control per the "USER" of "shared resource" is done in LAN Manager, SAMBA, etc., instead of by "permission of file in local file system on file server".
Tb on Win-XP requested to create new file, and SMB1 client on Win-XP passed the "file creation" to SAMBA on Linux, then SAMBA on Linux requested "file creation" to Linux.
"Permission of the newly created file in file system of Linux server" is determined by SAMBA and Linux.
I think Tb on Win-XP or SMB1 client on Win-XP can't touch it.
Updated•2 years ago
|
Severity: normal → S3
Updated•9 months ago
|
Component: Untriaged → Database
Product: Thunderbird → MailNews Core
Version: 24 Branch → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•