首页 > 系统服务 > 详细

Mac修改文件权限:You don’t have permission to save the file

时间:2015-04-23 01:47:00      阅读:30749      评论:0      收藏:0      [点我收藏+]

1、从互联网上或者其他途径拿过来的工程代码,往往会报下面的提示:

 

  (1)打开文件的时候出现窗口提示You don’t have permission to save the file “project.xcworkspace” in the folder “****.xcodeproj”.
  (2)进入Xcode时出现窗口提示Could not add write permission to the file because you do not own it. Try modifying the permissions of the file in the Finder or Terminal.
而且会让你去选择是否locked,选择后提示不能unlocked,如下:

 

 

技术分享

提示没有写权限,并让你试图去finder或者终端中修改它。

2、参考解决方案如下了:

选中工程文件夹点右键,在 “显示简介"——>"共享与权限"——>"-+"号。 添加本用户(就是你登录的那个账号),授予读写权限,并点击下方的设置符号选择"应用到包含的项目",操作如下图:

技术分享

技术分享

Mac修改文件权限:You don’t have permission to save the file

原文:http://www.cnblogs.com/niexiaobo/p/4449094.html

(5)
(9)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!