开发者

Where is the zipcloak puts the temporary file by default?

When I use zipcloak to encrypt an existed zip file, I got an error like this:

zipcloak error: Permission denied zipcloak error: Temporary file failure (ziC8mO6F)

The command I executed:

/usr/local/bin/zipcloak /Library/WebServer/foo.zip

I'm sure I've set the permission of /Library/WebServer to 777, but it seems like zipcloak create the temporary file in a different p开发者_StackOverflow中文版lace.

By the way when I specify the temporary path by -b option of zipcloak, it's worked.

/usr/local/bin/zipcloak -b /Library/WebServer/ /Library/WebServer/foo.zip

The -b option: -b Use the specified path for the temporary zip archive


It tries to open a temporary file in the current directory.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜