PC
2005-Aug-16 17:55 UTC
[Samba] Windows offline files synchronization failure for mounted Samba drive.
Windows offline files synchronization fails for mounted Samba drive unless files are "owned" by the user performing the synchronization. You can duplicate this problem by making a folder or file which is located on a samba mounted drive available offline. 1) From windows Explorer on a Windows XP SP2 Machine connected to the network samba drive, right click on a test file owned by someone else but which you have group rw permissions in Linux (-rwx rw- --- otheruser commongroup testfilename) and select "make available offline". a. You may need to enable offline file from the Tools - Folder options - Offline Files Tab in Windows Explorer 2) Disconnect from the network (unplug enet cable) 3) You should notice the offline files icon appear in your task bar (small computer icon). Verify you can still find and open the file using windows explorer. Open, change, and save the file. 4) Reconnect to the network. 5) Synchronize offline files by right clicking on the offline files icon in the task bar and selecting Synchronize. 6) Windows Synchronization will fail and will present a message that the system does not have permission to write the test file. Work around for single user synchronization: "fource user = username" will insure that all files created under the respective share are owned by username. Obviously does not work if more that one user need to synchronizae offline files.
Gerald (Jerry) Carter
2005-Aug-17 12:31 UTC
[Samba] Windows offline files synchronization failure for mounted Samba drive.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 PC wrote:> Windows offline files synchronization fails for mounted > Samba drive unless files are "owned" by the > user performing the synchronization.What Samba version? Does 'dos filemode = yes' help? cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDAy4LIR7qMdg1EfYRAqsDAJ40LbaDPZHaNaqBd9+RujgprGI7FwCgzeO5 XS+XOi/r1d72nmyM6eR4DbA=UfhI -----END PGP SIGNATURE-----
Shaun Feeley
2005-Aug-29 10:50 UTC
[Samba] Windows offline files synchronization failure for mounted Samba drive.
Hi Pat, I was wondering whether you have found anything more out about your problem - as its fairly close to mine and could point me in the right direction. I am only syncing personal areas so all files are owned by the particular user - it seems to work fine for a while and then they start getting random permission errors. I cant work out why? The problem is with win xp sp2 laptops syncing with samba personal home shares. Any help would be appreciated Thanks Shaun
PC
2005-Aug-29 12:55 UTC
[Samba] Windows offline files synchronization failure for mounted Samba drive.
No new information my the last posting. I do not have nay issues for single user shares is I use the "force username" option in smb.conf to insure proper ownership. FYI: You can chmod g+s the shared folders to insure new files are created with the same permissions as the parent folders Log into the Linux server directly and see who owns the problem files; you will probably see that another user created the files or that the permissions are read only. -----Original Message----- From: Shaun Feeley [mailto:shaun.feeley@cytopia.com.au] Sent: Monday, August 29, 2005 3:03 AM To: PC Cc: samba@lists.samba.org Subject: Re: [Samba] Windows offline files synchronization failure formounted Samba drive. Hi Pat, I was wondering whether you have found anything more out about your problem - as its fairly close to mine and could point me in the right direction. I am only syncing personal areas so all files are owned by the particular user - it seems to work fine for a while and then they start getting random permission errors. I cant work out why? The problem is with win xp sp2 laptops syncing with samba personal home shares. Any help would be appreciated Thanks Shaun
Shaun Feeley
2005-Aug-30 00:42 UTC
[Samba] Windows offline files synchronization failure for mounted Samba drive.
Its not a ownership issue Im pretty sure Ive checked that. Im now thinking the problem could be due to the older verison of samba im still using 2.7 ? perhaps their are some issues understandably bt that verison and win xp sp2. I think ill upgrade to the current verison and then see. Thanks for your time anyway. Shaun On Mon, 2005-08-29 at 08:55 -0400, PC wrote:> No new information my the last posting. I do not have nay issues for single > user shares is I use the "force username" option in smb.conf to insure > proper ownership. > > FYI: You can chmod g+s the shared folders to insure new files are created > with the same permissions as the parent folders > > Log into the Linux server directly and see who owns the problem files; you > will probably see that another user created the files or that the > permissions are read only. > > -----Original Message----- > From: Shaun Feeley [mailto:shaun.feeley@cytopia.com.au] > Sent: Monday, August 29, 2005 3:03 AM > To: PC > Cc: samba@lists.samba.org > Subject: Re: [Samba] Windows offline files synchronization failure > formounted Samba drive. > > Hi Pat, > > I was wondering whether you have found anything more out about your > problem - as its fairly close to mine and could point me in the right > direction. > > I am only syncing personal areas so all files are owned by the > particular user - it seems to work fine for a while and then they start > getting random permission errors. I cant work out why? > > The problem is with win xp sp2 laptops syncing with samba personal home > shares. > > Any help would be appreciated > > Thanks Shaun > > > >