I have a file that is apparently locked:
Pats-Mac-Pro:Corelli pat$ ls -l x
-rw-r--r--@ 1 pat pat 24261688 Dec 17 2010 x
So, for example, I can't delete this file:
Pats-Mac-Pro:Corelli pat$ rm x
override rw-r--r-- pat/pat for x? y
rm: x: Permission denied
(I also can't update this file, which is my real problem.)
The strange thing about this file (and many others) is that as far as Finder's Get Info function is concerned, it is NOT locked, i.e., the "Locked" box on the "x Info" window is not checked. I can lock and unlock the file on the "x Info" window, but it still shows as locked (i.e., the "@" after the permissions is still there) when I ls it as above.
Investigating further, I did:
Pats-Mac-Pro:Corelli pat$ ls -l@ x
-rw-r--r--@ 1 pat pat 24261688 Dec 17 2010 x
com.apple.metadata:_kTimeMachineNewestSnapshot 50
com.apple.metadata:_kTimeMachineOldestSnapshot 50
and I think that's the source of the problem. But what do I do about that? Why would TimeMachine be adding extended attributes to my files? I would have thought that TimeMachine would keep such information somewhere else, so as not to be causing me any problems like this one.
So, again, what do I do about this?
(BTW, I tried to enter a longer Subject above, but I was not allowed to fill more than about half of the box. Is there a limit?)
(Also BTW, at one point I was asked to specify the OS in my machine profile, but the highest version of OSX listed was 10.5.x, so I selected that, but my actual OS is OSX 10.6.7)
Pats-Mac-Pro:Corelli pat$ ls -l x
-rw-r--r--@ 1 pat pat 24261688 Dec 17 2010 x
So, for example, I can't delete this file:
Pats-Mac-Pro:Corelli pat$ rm x
override rw-r--r-- pat/pat for x? y
rm: x: Permission denied
(I also can't update this file, which is my real problem.)
The strange thing about this file (and many others) is that as far as Finder's Get Info function is concerned, it is NOT locked, i.e., the "Locked" box on the "x Info" window is not checked. I can lock and unlock the file on the "x Info" window, but it still shows as locked (i.e., the "@" after the permissions is still there) when I ls it as above.
Investigating further, I did:
Pats-Mac-Pro:Corelli pat$ ls -l@ x
-rw-r--r--@ 1 pat pat 24261688 Dec 17 2010 x
com.apple.metadata:_kTimeMachineNewestSnapshot 50
com.apple.metadata:_kTimeMachineOldestSnapshot 50
and I think that's the source of the problem. But what do I do about that? Why would TimeMachine be adding extended attributes to my files? I would have thought that TimeMachine would keep such information somewhere else, so as not to be causing me any problems like this one.
So, again, what do I do about this?
(BTW, I tried to enter a longer Subject above, but I was not allowed to fill more than about half of the box. Is there a limit?)
(Also BTW, at one point I was asked to specify the OS in my machine profile, but the highest version of OSX listed was 10.5.x, so I selected that, but my actual OS is OSX 10.6.7)