I hit upon a more accessible solution: Let the user create a directory that mimics the final Web site and automatically produces the output.
我偶然发现了一个更容易使用的解决方案:让用户创建一个模拟最终网站的目录,并自动产生输出。
Using ACL gives more control on who can and cannot access or execute a file or directory; that is determined by the extended permissions that can be given to a file on a user or group basis.
通过使用ACL,可以更好地控制谁可以、谁不可以访问或执行文件或目录;这由按用户或组分配给文件的扩展权限决定。
I only select files, because if you include directories, then tar includes all files within that directory and includes more information than you want in the archive file.
我仅选择了文件,因为如果包含目录,那么tar将包含该目录中所有的文件,这样一来,存档文件中将包含比所需要的更多的信息。
应用推荐