Re: [shlug] drwxr-xr-x.,末尾的dot是什么意思?如何去掉?

46 views
Skip to first unread message
Message has been deleted

ghosTM55

unread,
Sep 18, 2011, 9:28:35 AM9/18/11
to sh...@googlegroups.com
2011/9/18 Hugh <boxx...@gmail.com>:
> 每个权限末尾都有个dot是什么情况?
>
> 我是把fedora下面的thunderbird profile给挪到debian下面来了。然后执行了chown -R user:group
> .thunderbird。
>
> [hugh@debian .thunderbird]$ ls -la
> 总用量 24
> drwxr-xr-x. 4 hugh hugh 4096 6月 2 2010 .
> drwx------ 51 hugh hugh 4096 9月 18 21:05 ..
> drwxr-xr-x. 11 hugh hugh 4096 8月 29 01:55 9an9k5et.default
> -rwxrwxrwx. 1 hugh hugh 335 4月 12 2010 appreg
> drwxr-xr-x. 2 hugh hugh 4096 8月 29 01:41 Crash Reports
> -rwxrwxrwx. 1 hugh hugh 94 4月 12 2010 profiles.ini
>
>
> --
> Hugh
>

没看到有这个情况嘛,其他文件是如此么

--
Thomas
Shanghai Linux User Group

http://ghosTunix.org
Twitter: @ghosTM55

Message has been deleted

easthero

unread,
Sep 25, 2011, 11:02:00 PM9/25/11
to sh...@googlegroups.com
https://fedoraproject.org/wiki/Fedora_11_FAQ#Why_does_ls_show_a_dot_.28..29_or_a_plus_.28.2B.29_at_the_end_on_the_file_modes_for_some_files.3F

2011/9/18 Hugh <boxx...@gmail.com>
2011/9/18 ghosTM55 <ghost...@gmail.com>:


> 没看到有这个情况嘛,其他文件是如此么
>
> --
> Thomas
> Shanghai Linux User Group
>
> http://ghosTunix.org
> Twitter: @ghosTM55
>

其它的不是。我现在了解到这与selinux有关。用ls -Z可以得到。好像用chcon可以处理。但不知如何执行命令……

root@debian:/home/hugh# ls -laZ

drwxr-xr-x.  4 hugh hugh system_u:object_r:file_t:s0        4096  6月
2 2010 .thunderbird
drwx------   2 hugh hugh ?                                  4096  8月
31 07:23 .update-notifier
-rw-------   1 hugh hugh ?                                  6240  9月
8 01:24 .viminfo

--
Hugh

Reply all
Reply to author
Forward
Message has been deleted
0 new messages