Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » 科技英语  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Sentence in blue , Help me to understand .
zerol

Soul of New Machine



发贴: 593
于 2003-11-27 17:26 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这是从Solaris Administration 教程中摘录的,章节是"File Permissions"

All access permissions have been removed, except for the directory indicator on the special file test. Note the main difference between setting files using symbolic codes rather than octal codes: Symbolic codes are relative, numeric codes are absolute. This means that unless you explicitly revoke a file permission when setting another using symbolic codes, it will persist. Thus, if a file already has group write access, and you grant group execute access (or remove group execute access), the write access permission is not removed. However, if you specify only group execute access using an octal code, the group write access will automatically be removed if it has been previously set.

Tip
You may well find that in startup scripts and situations where the permissions are unknown in advance, using octal codes is safer.

EXAM TIP You must be able to interpret every element of an octal permissions code.



★☆ The Truth Lies Somewhere In The Middle ☆★ 
作者 Re:Sentence in blue , Help me to understand . [Re:zerol]
dorrenchen





发贴: 298
于 2003-11-28 03:15 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
You may well find that in startup scripts and situations where the permissions are unknown in advance.

modified: You may often find that some startup scripts and in other situations where the permissions are unknown in advance.

你会时常发现有些启动文件和在其他情况下,预先你不知道文件的许可权。

ok, that's the translation. But I don't get it, you can check the file permission at any time by doing "ls -l" at command prompt.

You sure study a lot.



作者 Re:Sentence in blue , Help me to understand . [Re:zerol]
zerol

Soul of New Machine



发贴: 593
于 2003-11-28 09:50 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
I got it !

>You sure study a lot.
I just keep on read news on theserver.com everyday and some ebooks. ^^



★☆ The Truth Lies Somewhere In The Middle ☆★ 
作者 Re:Sentence in blue , Help me to understand . [Re:zerol]
floater

Java Jedi

总版主


发贴: 3233
于 2003-11-28 12:25 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
在有些启动文件(zhong)(or in chinese)预先你不知道文件的许可权的情况下, using octal codes is safer.

There are two cases:
1. in the startup scripts
2. when the permissions are unknown in advance.
In these two cases, it's safer to set the permission absolutely.

In some cases, you don't have the permission to run ls -l, so you can't find out the permission.



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code
作者 Re:Sentence in blue , Help me to understand . [Re:zerol]
tom1973



发贴: 0
于 2003-11-29 19:13 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
1.startup scripts
2.situations where the permissions are unknown in advance




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923