keith_allen@safeway.co.uk
2004-Feb-03 11:03 UTC
[Samba] PDF * powerpoint files need the x bit set under linux
We are trying to migrate to samba from NT4 data servers, We don't currently allow users the execute permission on data drives, so I have setup data drives with a creat mask of 0660 which seems ok. The problem I'm having it that both powerpoint and PDF files seem to need the 'x' bit set before users can edit or open the files. Has anybody else had this problem? and if so could you please tell me what you did to resolve it. ? Thanks very much ? samba version 2.2.8a on susi linux v8 ? [global] ??????? netbios name = xxxSAM01 ??????? workgroup = xxxdom ??????? security = domain ??????? encrypt passwords = yes ??????? map to guest = bad user ??????? name resolve order = wins lmhosts host bcast ??????? dns proxy = no ??????? password server = xxxsrv11a xxxsrv17a ??????? preferred master = no ??????? domain master = no ??????? local master = no ??????? log level = 4 ??????? log file = /var/log/samba ??????? wins server = 172.19.1.1 ??????? winbind uid = 10000-50000 ??????? winbind gid = 10000-50000 ??????? winbind separator = + ??????? winbind cache time = 10 ??????? template homedir = /smb/homes/%U [homes] ??????? comment = Home directory for %U ??????? path = /smb/homes/%U ??????? read only = no ??????? browseable = no ??????? inherit permissions = no ??????? inherit acls = yes ??????? create mask = 0660 ??????? force user = %U #?????? force create mode = 0660 ??????? directory mask = 0770 ??????? force directory mode =0770 Keith?Allen **************************************************************************** Unencrypted electronic mail is not secure and may not be authentic. If you have any doubts as to the contents please telephone to confirm. The information contained in this message is confidential and is intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. Opinions, conclusions and other information expressed in this message are not given or endorsed by Safeway unless otherwise indicated by an authorised representative independent of this message. ****************************************************************************
Jim McDonough
2004-Feb-03 13:43 UTC
[Samba] PDF * powerpoint files need the x bit set under linux
> We are trying to migrate to samba from NT4 data servers, We don'tcurrently> allow users the execute permission on data drives, so I have setup data > drives with a creat mask of 0660 which seems ok. The problem I'm havingit> that both powerpoint and PDF files seem to need the 'x' bit set beforeusers> can edit or open the files. Has anybody else had this problem? and if so > could you please tell me what you did to resolve it.Keith, it needs to be pointed out that you're running a patch that makes samba honor the 'x' bit in terms of being given permission to execute files, as when ntcreatex opens a file for execute access. I've not been aware in the past that these files are opened for execution by windows, but it's possible. Do the permissions on the windows server you're migrating from show that the user has permission to execute programs? And I just want to make sure...are you double-clicking the documents, or opening them from within the application? ---------------------------- Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive Scarborough, ME 04074 USA jmcd@us.ibm.com jmcd@samba.org Phone: (207) 885-5565 IBM tie-line: 776-9984
keith_allen@safeway.co.uk
2004-Feb-03 14:08 UTC
[Samba] PDF * powerpoint files need the x bit set under linux
Thanks for responding so fast Jim(I'm fairly new to linux/samba) The file permission's on the windows servers do not have the execute permission bit set. I get the problem whether I double click the data file or open the application first then try to open the data file. ? Keith?Allen -----Jim McDonough <jmcd@us.ibm.com>@SMTP@HOST wrote: ----- To: Keith Allen/Safeway@Safeway From: Jim McDonough <jmcd@us.ibm.com>@SMTP@HOST Date: 02/03/2004 01:42PM cc: samba@lists.samba.org@SMTP@HOST Subject: Re: [Samba] PDF * powerpoint files need the x bit set under linux> We are trying to migrate to samba from NT4 data servers, We don'tcurrently> allow users the execute permission on data drives, so I have setup data > drives with a creat mask of 0660 which seems ok. The problem I'm having it > that both powerpoint and PDF files seem to need the 'x' bit set beforeusers> can edit or open the files. Has anybody else had this problem? and if so > could you please tell me what you did to resolve it.Keith, it needs to be pointed out that you're running a patch that makes samba honor the 'x' bit in terms of being given permission to execute files, as when ntcreatex opens a file for execute access. I've not been aware in the past that these files are opened for execution by windows, but it's possible. Do the permissions on the windows server you're migrating from show that the user has permission to execute programs? And I just want to make sure...are you double-clicking the documents, or opening them from within the application? ---------------------------- Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive Scarborough, ME 04074 USA jmcd@us.ibm.com jmcd@samba.org Phone: (207) 885-5565 IBM tie-line: 776-9984 **************************************************************************** Unencrypted electronic mail is not secure and may not be authentic. If you have any doubts as to the contents please telephone to confirm. The information contained in this message is confidential and is intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. Opinions, conclusions and other information expressed in this message are not given or endorsed by Safeway unless otherwise indicated by an authorised representative independent of this message. ****************************************************************************