此文章由 eric_gao 原创或转贴,不代表本站立场和观点,版权归  oursteps.com.au 和作者 eric_gao 所有!转贴必须注明作者、出处和本声明,并保持内容完整
 
我ssh登录Mac, 运行 /usr/sbin/screencapture 怎么报错呢。 
 
请教大家,怎么抓屏。 谢谢了。 
 
My-MacBook-Air:~ ericgao$ ps -ef | grep login 
    0   111     1   0 Wed11am ??         0:00.21 /System/Library/CoreServices/logind 
  501   129     1   0 Wed11am ??         0:48.26 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow console 
  501 10649 10628   0  8:59pm ttys000    0:00.01 grep login 
My-MacBook-Air:~ ericgao$ /usr/sbin/screencapture /Volumes/test 
screencapture: cannot write file to intended destination 
My-MacBook-Air:~ ericgao$ 
My-MacBook-Air:~ ericgao$ sudo launchctl bsexec 129 screencapture /Volumes/test 
Password: 
screencapture: cannot write file to intended destination 
My-MacBook-Air:~ ericgao$ 
 
 
老是提示 cannot write file to intended destination,  /Volumes/test 目录设的777, 谁都能写。 
 
 |