Hi List, I have an unusual problem concerning the Windows XP "Rotate" image explorer shell extension. I have a share called "Archives" defined with a number of sub-directories. Whilst I have read/write permission to all directories, I am unable to use the Windows XP "Rotate Clockwise" or "Rotate Counter Clockwise" image command on JPG's contained within those directories - error is "file may be in use or directory may be read only". That is, until I read the files into Photoshop and write them back out again. Then the "Rotate" shell extension works! During this process there is no change whatsoever to the file and dir perms either on the filesystem (FreeBSD) or those reported by Windows - they appear identical before and after Photoshop intervention. So my question is how to trouble shoot this, and, what may be causing this unusual problem? Samba version is 3.5.6 [albums] comment = Mason family archive path = /usr/local/archive write list = mason, root guest ok = Yes Filesystem perms -> ----------------------------- drwxr-xr-x 28 mason wheel - 512 Feb 20 10:08 archive/ drwxr-xr-x 4 mason wheel - 512 Dec 19 2009 ./ drwxr-xr-x 28 mason wheel - 512 Feb 20 10:08 ../ drwxr-xr-x 18 mason wheel - 1024 Mar 13 10:42 Mason/ drwxr-xr-x 2 mason wheel - 512 Mar 12 10:40 Wagstaff/ drwxr-xr-x 4 mason wheel - 512 Mar 13 10:41 1979 - France - Argeles-sur-Mer/ -rw-r--r-- 1 mason wheel - 8192 Mar 13 10:39 Thumbs.db -rw-r--r-- 1 mason wheel - 2393243 Mar 12 18:06 Untitled-10.jpg -rw-r--r-- 1 mason wheel - 2236064 Mar 12 19:33 Untitled-11.jpg -rw-r--r-- 1 mason wheel - 2441339 Mar 12 19:38 Untitled-12.jpg -rw-r--r-- 1 mason wheel - 2115890 Mar 12 19:45 Untitled-13.jpg -rw-r--r-- 1 mason wheel - 2113096 Mar 12 19:49 Untitled-14.jpg -rw-r--r-- 1 mason wheel - 2507137 Mar 12 19:54 Untitled-15.jpg -rw-r--r-- 1 mason wheel - 2312662 Mar 12 19:59 Untitled-16.jpg -rw-r--r-- 1 mason wheel - 2346841 Mar 12 20:04 Untitled-17.jpg -rw-r--r-- 1 mason wheel - 2583152 Mar 12 20:09 Untitled-18.jpg -rw-r--r-- 1 mason wheel - 2447956 Mar 12 20:14 Untitled-19.jpg -rw-r--r-- 1 mason wheel - 2222166 Mar 12 20:19 Untitled-20.jpg -rw-r--r-- 1 mason wheel - 2549045 Mar 12 20:24 Untitled-21.jpg -rw-r--r-- 1 mason wheel - 2155071 Mar 12 20:28 Untitled-22.jpg -rw-r--r-- 1 mason wheel - 2228869 Mar 12 20:34 Untitled-23.jpg -rw-r--r-- 1 mason wheel - 1957951 Mar 12 20:38 Untitled-24.jpg The original of this email was scanned for known viruses at 11:13 on 13/03/2011 and was found to be virus free - ClamAV 0.97/12827/Sat Mar 12 11:38:52 2011.
On Sun, Mar 13, 2011 at 7:11 AM, Rob Mason <rob.mason at acasta.co.uk> wrote:> Hi List, > > I have an unusual problem concerning the Windows ?XP "Rotate" image > explorer shell extension. ?I have a share called "Archives" defined with > a number of sub-directories. ?Whilst I have read/write permission to all > directories, I am unable to use the Windows XP "Rotate Clockwise" or > "Rotate Counter Clockwise" image command on JPG's contained within those > directories - error is "file may be in use or directory may be read > only". ?That is, until I read the files into Photoshop and write them > back out again. ?Then the "Rotate" shell extension works! ?During this > process there is no change whatsoever to the file and dir perms either > on the filesystem (FreeBSD) or those reported by Windows - they appear > identical before and after Photoshop intervention. > > So my question is how to trouble shoot this, and, what may be causing > this unusual problem? > > Samba version is 3.5.6 > > [albums] > ? ? ? ?comment = Mason family archive > ? ? ? ?path = /usr/local/archive > ? ? ? ?write list = mason, root > ? ? ? ?guest ok = Yes > > > Filesystem perms -> > ----------------------------- > > drwxr-xr-x ?28 mason ?wheel ? - ? 512 Feb 20 10:08 archive/ > > drwxr-xr-x ? 4 mason ?wheel ?- ?512 Dec 19 ?2009 ./ > drwxr-xr-x ?28 mason ?wheel ?- ?512 Feb 20 10:08 ../ > drwxr-xr-x ?18 mason ?wheel ?- 1024 Mar 13 10:42 Mason/ > drwxr-xr-x ? 2 mason ?wheel ?- ?512 Mar 12 10:40 Wagstaff/ > > drwxr-xr-x ? 4 mason ?wheel ?- ?512 Mar 13 10:41 1979 - France - > Argeles-sur-Mer/ > > -rw-r--r-- ? 1 mason ?wheel ?- ? ?8192 Mar 13 10:39 Thumbs.db > -rw-r--r-- ? 1 mason ?wheel ?- 2393243 Mar 12 18:06 Untitled-10.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2236064 Mar 12 19:33 Untitled-11.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2441339 Mar 12 19:38 Untitled-12.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2115890 Mar 12 19:45 Untitled-13.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2113096 Mar 12 19:49 Untitled-14.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2507137 Mar 12 19:54 Untitled-15.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2312662 Mar 12 19:59 Untitled-16.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2346841 Mar 12 20:04 Untitled-17.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2583152 Mar 12 20:09 Untitled-18.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2447956 Mar 12 20:14 Untitled-19.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2222166 Mar 12 20:19 Untitled-20.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2549045 Mar 12 20:24 Untitled-21.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2155071 Mar 12 20:28 Untitled-22.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2228869 Mar 12 20:34 Untitled-23.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 1957951 Mar 12 20:38 Untitled-24.jpg > > > > > The original of this email was scanned for known viruses at 11:13 on 13/03/2011 and was found to be virus free - ClamAV 0.97/12827/Sat Mar 12 11:38:52 2011. > >Do a smbstatus on the server when the problem happens. The files could be locked. John
The files aren't locked as I can modify them Photoshop? It's only the "Rotate" shell extension that won't work until _after_ Photoshop has opened and re-written the file. However, I do suspect a locking related problem... ------- Original Message ------- From: John Drescher <drescherjm at gmail.com> To: Rob Mason <rob.mason at acasta.co.uk> Sent: 13.3.11, 14:17:09 Subject: Re: [Samba] XP not obeying Samba file perms On Sun, Mar 13, 2011 at 7:11 AM, Rob Mason <rob.mason at acasta.co.uk> wrote:> Hi List, > > I have an unusual problem concerning the Windows ?XP "Rotate" image > explorer shell extension. ?I have a share called "Archives" defined with > a number of sub-directories. ?Whilst I have read/write permission to all > directories, I am unable to use the Windows XP "Rotate Clockwise" or > "Rotate Counter Clockwise" image command on JPG's contained within those > directories - error is "file may be in use or directory may be read > only". ?That is, until I read the files into Photoshop and write them > back out again. ?Then the "Rotate" shell extension works! ?During this > process there is no change whatsoever to the file and dir perms either > on the filesystem (FreeBSD) or those reported by Windows - they appear > identical before and after Photoshop intervention. > > So my question is how to trouble shoot this, and, what may be causing > this unusual problem? > > Samba version is 3.5.6 > > [albums] > ? ? ? ?comment = Mason family archive > ? ? ? ?path = /usr/local/archive > ? ? ? ?write list = mason, root > ? ? ? ?guest ok = Yes > > > Filesystem perms -> > ----------------------------- > > drwxr-xr-x ?28 mason ?wheel ? - ? 512 Feb 20 10:08 archive/ > > drwxr-xr-x ? 4 mason ?wheel ?- ?512 Dec 19 ?2009 ./ > drwxr-xr-x ?28 mason ?wheel ?- ?512 Feb 20 10:08 ../ > drwxr-xr-x ?18 mason ?wheel ?- 1024 Mar 13 10:42 Mason/ > drwxr-xr-x ? 2 mason ?wheel ?- ?512 Mar 12 10:40 Wagstaff/ > > drwxr-xr-x ? 4 mason ?wheel ?- ?512 Mar 13 10:41 1979 - France - > Argeles-sur-Mer/ > > -rw-r--r-- ? 1 mason ?wheel ?- ? ?8192 Mar 13 10:39 Thumbs.db > -rw-r--r-- ? 1 mason ?wheel ?- 2393243 Mar 12 18:06 Untitled-10.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2236064 Mar 12 19:33 Untitled-11.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2441339 Mar 12 19:38 Untitled-12.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2115890 Mar 12 19:45 Untitled-13.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2113096 Mar 12 19:49 Untitled-14.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2507137 Mar 12 19:54 Untitled-15.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2312662 Mar 12 19:59 Untitled-16.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2346841 Mar 12 20:04 Untitled-17.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2583152 Mar 12 20:09 Untitled-18.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2447956 Mar 12 20:14 Untitled-19.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2222166 Mar 12 20:19 Untitled-20.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2549045 Mar 12 20:24 Untitled-21.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2155071 Mar 12 20:28 Untitled-22.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 2228869 Mar 12 20:34 Untitled-23.jpg > -rw-r--r-- ? 1 mason ?wheel ?- 1957951 Mar 12 20:38 Untitled-24.jpg > > > > > The original of this email was scanned for known viruses at 11:13 on 13/03/2011 and was found to be virus free - ClamAV 0.97/12827/Sat Mar 12 11:38:52 2011. > >Do a smbstatus on the server when the problem happens. The files could be locked. John The original of this email was scanned for known viruses at 15:24 on 13/03/2011 and was found to be virus free - ClamAV 0.97/12827/Sat Mar 12 11:38:52 2011.
Possibly Parallel Threads
- why does --size-only not detect change only is size (but also time)?
- OS X Clients Can't Create Sub-Directories
- How to create a chromosome location map by locus ID
- Can't create any VPS using KVM template due to the error with libguestfs
- Permission Denied when "all" bits not set to r/w