草庐IT

directory-permissions

全部标签

windows - 在 Windows 下克隆 git repo 时,我得到 "error: unable to create file <file>... (Is a directory)"

Z:\>gitclonegit://github.com/kennethreitz/httpbin.gitCloninginto'httpbin'...remote:Countingobjects:1073,done.remote:Compressingobjects:100%(401/401),done.remote:Total1073(delta672),reused1045(delta651)Receivingobjects:100%(1073/1073),114.42KiB|128KiB/s,done.Resolvingdeltas:100%(672/672),done.err

c++ - QApplication : No such file or directory with Qt5 and qtsingleapplication on windows

自从我使用QT5.0.1(来自http://qt-project.org/downloads)和模块qtsingleapplication(来自http://qt.gitorious.org/qt-solutions的最新版本)后,我在Windows上无法编译。在Linux下,编译仍然有效(Qt4.8.2)我不明白为什么。这是qtcreator的详细输出。09:57:58:ExécutiondesétapespourleprojetWahoo...09:57:58:Configurationinchangée,étapeQMakesautée.09:57:58:Débute:"D:\Q

Windows bundle 安装 : HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (RuntimeError)

我成功安装了bundlergeminstallbundler然后我尝试做bundleinstall我收到以下错误:C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rbreadline.rb:1097:in`':HOMEenvironmentvariable(orHOMEDRIVEandHOMEPATH)mustbesetandpointtoadirectory(RuntimeError)fromC:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rbreadline.rb:17:in`'fromC:/Ruby22-x64/lib/

windows - Rsync 未正确设置 Windows 文件夹的权限

我在Windows7上使用rsync(尤其是cwrsync)。我正在使用一个简单的命令:rsync-r--perms--delete/cygdrive/c/Users/Michael/Documents/Personal//cygdrive/c/Users/Michael/Documents/Personal_Backup/递归复制工作正常,除非我要(右键单击/属性/安全选项卡)在目标上由rsync创建的任何文件夹上;我收到以下弹出消息:Thepermissionson{folderName}areincorrectlyordered,whichmaycausesomeentriest

C# WMI 在远程 PC 上运行一个 exe,然后在同一台 PC 上运行另一个 exe,然后在网络路径上调用 Directory.CreateDirectory 并失败

使用C#WMI我在另一台计算机上启动一个exe,这个exe使用C#Process类启动另一个exe。最后一个exe尝试使用网络路径(又名\\\\comp1\d$\dir\)调用Directory.CreateDirectory。Directory.CreateDirectory抛出此异常:Accesstothepath'\\\\blah\blah\blah'isdenied.atSystem.IO.__Error.WinIOError(Int32errorCode,StringmaybeFullPath)atSystem.IO.Directory.InternalCreateDirec

windows - 是什么原因导致 "The permissions on <folder> are incorrectly ordered"?

在调试涉及SQLite和IIS的特别麻烦的错误时,我们在访问App_Data属性时遇到了权限问题ThepermissionsonApp_Dataareincorrectlyordered,whichmaycausesomeentriestobeineffective.还有截图:我的问题不是什么是不正确的顺序,我认为Howdoyouprogrammaticallyfixanon-canonicalACL?已经很好地介绍了这个问题。我想知道的是哪些类型的排序不正确?例如,如果我们为Everyone设置FullControl,它应该在其他权限之前还是之后?是否有任何不正确的顺序触发错误的示例

windows - Windows : Failed to set permissions of path 中的 Nutch

我尝试在Windows机器上使用Solr和Nutch,但出现以下错误:Exceptioninthread"main"java.io.IOException:Failedtosetpermissionsofpath:c:\temp\mapred\staging\admin-1654213299\.stagingto0700从我了解到的很多线程中,nutch似乎使用的hadoop做了一些chmod魔术,可以在Unix机器上运行,但不能在Windows上运行。这个问题已经存在一年多了。我找到了一个线程,其中显示了代码行并提出了修复建议。我真的只有他们一个人有这个问题吗?所有其他人是否都在创建

windows - Windows 上的 Git : Why I suddenly have untracked directory that used to be tracked?

当我点击“gitstatus”时,它会显示2个文件夹,其中包含很久以前跟踪的文件:$gitstatus#Onbranchmaster#Untrackedfiles:#(use"gitadd..."toincludeinwhatwillbecommitted)##src/UI/Views/Shared/EditorTemplates/#src/Web/helpers/nothingaddedtocommitbutuntrackedfilespresent(use"gitadd"totrack)GitGUI没有按预期显示任何内容。使用portablegit1.7.1,但尝试了1.7.0.2

c++ - 无法打开包含文件 : 'VersionHelpers.h' : No such file or directory

我正在尝试使用IsWindows7SP1OrGreater函数,在VersionHelpers.hheader中声明。我得到:'VersionHelpers.h':Nosuchfileordirectory虽然我可以从VisualStudio打开此header,但语法检查器可以正确找到它。有什么问题? 最佳答案 为了使用版本助手宏,您需要以VS2013附带的v120平台工具集为目标。如果您在VS2013中创建一个空项目,那么您会发现包含VersionHelpers.h工作正常。如果您的目标是v120,那么我猜您的项目中配置有误。从一

c# - Directory.Exists 保留目录句柄几秒钟

所以我正在尝试对负责共享目录的代码进行单元测试/集成测试。所以我创建了共享驱动器,然后检查目录是否存在。首先在本地,然后通过它的共享名称。Assert.IsTrue(Directory.Exists(testSharePath));Assert.IsTrue(Directory.Exists(String.Format(@"\\{0}\{0}",System.Environment:MachineName,testShareName));在此之后,我当然想通过删除我刚刚创建的目录来清理自己。然而,这不起作用,因为“......它被另一个进程使用。”经过一些试验,我发现如果我删除第二个断