Cindy Hodgins Burian wrote:> We are running Samba 1.9.18p10 and the main box we push files to is an > NT Terminal Server 4.0. Until Project 2000, we've had no problems. > This is what's happening now: Joe creates and saves a project on an NFS > file system pushed by Samba.Can you reproduce this on a test share NOT using nfs? That would eliminate nfs problems from the debugging... (step 1) Indeed, is the reproducible, or does it only happen occasionally? Jane opens this project, makes changes,> tries to save it, and it refuses. Gives a popup box saying basically > You don't have permission to save this file. When you look at the file > permissions through Unix, everything looks fine. Even if you do a chmod > 777, it still fails.That's interesting: I assume you're doing so from the command line on the server, so the result **should** be a file which Samba can write. However, Windows people often use a "rename" scheme to keep around unchanged and backup copies of the user's work (eminently reasonable: Windows dies a lot) You may need to change the permissions of .bak or other odd files. http://www.oreilly.com/catalog/samba/chapter/book/ch05_03.html Try setting force create mode as the second step, as suggested in http://www.oreilly.com/catalog/samba/chapter/book/ch05_03.html Then see what files Project creates as the third, whether or not the second yields any results. --dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com
David Collier-Brown wrote:> > Cindy Hodgins Burian wrote: > > We are running Samba 1.9.18p10 and the main box we push files to is an > > NT Terminal Server 4.0. Until Project 2000, we've had no problems. > > This is what's happening now: Joe creates and saves a project on an NFS > > file system pushed by Samba. > > Can you reproduce this on a test share NOT using > nfs? That would eliminate nfs problems from the > debugging... (step 1) >Unfortunately, no. We only share nfs files.> Indeed, is the reproducible, or does it only happen > occasionally? >It happens every time without fail.> Jane opens this project, makes changes, > > tries to save it, and it refuses. Gives a popup box saying basically > > You don't have permission to save this file. When you look at the file > > permissions through Unix, everything looks fine. Even if you do a chmod > > 777, it still fails. > > That's interesting: I assume you're doing so from the > command line on the server, so the result **should** > be a file which Samba can write. > > However, Windows people often use a "rename" scheme > to keep around unchanged and backup copies of the > user's work (eminently reasonable: Windows dies a lot) > You may need to change the permissions of .bak or other > odd files. > > http://www.oreilly.com/catalog/samba/chapter/book/ch05_03.html > > Try setting force create mode as the second step, as > suggested in > http://www.oreilly.com/catalog/samba/chapter/book/ch05_03.html > > Then see what files Project creates as the third, whether or > not the second yields any results. > > --daveHere is a piece of my smb.conf: [nt] path = /home/eng/NT writeable = yes force group = research create mask = 775 force create mode = 0660 I just added the force create mode and tried this scenario again. Still got the same result. Any more ideas?? Cindy
As a follow up to a question I found on the Samba mailing list:> Jane opens this project [with MS Project], makes changes, tries to > save it, and it refuses. Gives a popup box saying basically You > don't have permission to save this file. When you look at the file > permissions through Unix, everything looks fine. Even if you do a > chmod 777, it still fails.The problem is that MS Project tries to write the timestamp of the file You can see a 'Access Denied' at a IRP_MJ_SET_INFORMATION operation when using FileMon. Set dos filetimes = Yes for the share or set 'DOS filetimes' on the 'Advanced View' tab on 'Shares' page and the problem should go away. At least it did here. Now, back to what I wanted to do this morning, which was do some project planning :-) Hope that this is of any help. Nick -- Qube Software, Ltd. Private: n_hibma@qubesoft.com n_hibma@webweaving.org n_hibma@FreeBSD.ORG http://www.qubesoft.com/ http://www.etla.net/~n_hibma/