Thanks for your response.  At last, I feel like I haven't been wasting my
time.  ;-)


> From: Adam Levin [mailto:[email protected]]
> 
> $ cat a/b/c/info.txt
> cat: cannot open a/b/c/info.txt
> $ cat a/b/c/.snapshot/test/info.txt
> cat: cannot open a/b/c/.snapshot/test/info.txt
> $ cat a/c/info.txt
> public info
> $ cat a/c/.snapshot/test/info.txt
> secret info

You know what would have been more informative?  

$ cat a/.snapshot/test/b/c/info.txt
(I guess the result would be...) 
cat: a/.snapshot/test/b/c/info.txt: Permission denied

$ cat a/c/.snapshot/test/info.txt
secret info

As you showed, "cat: cannot open a/b/c/info.txt" makes perfect sense,
because a/b/c doesn't exist anymore.  But a/.snapshot/test/b/c/info.txt does
exist, and should be permission denied.

Meanwhile, a/c/.snapshot/test/info.txt is just another path to precisely the
same information, but should be permission granted (as you've demonstrated,
it is.)



_______________________________________________
Tech mailing list
[email protected]
http://lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to