Re: File ownership

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No,

Refer the other system and change the ownership.

But for /var for all the standard folders the ownership should be standard
like:

[root@emi ~]# ll /var
total 204
drwxr-xr-x 2 root root 4096 Jan 3 2004 account
drwxr-xr-x 2 pcap pcap 4096 Jan 3 2004 arpwatch
drwxr-xr-x 8 root root 4096 Jan 3 2004 cache
drwxr-xr-x 5 netdump netdump 4096 Jan 3 2004 crash
drwxr-xr-x 3 root root 4096 Jan 3 2004 db
drwxr-xr-x 3 root root 4096 Jan 3 2004 empty
drwxr-xr-x 3 root root 4096 Jan 3 2004 ftp
drwxrwx--T 2 root gdm 4096 Oct 12 15:50 gdm
drwxr-xr-x 3 root root 4096 Jan 3 2004 kerberos
drwxr-xr-x 33 root root 4096 Jan 3 2004 lib
drwxr-xr-x 2 root root 4096 Aug 12 2004 local
drwxrwxr-x 10 root lock 4096 Oct 11 13:53 lock
drwxr-xr-x 23 root root 4096 Oct 12 15:50 log
lrwxrwxrwx 1 root root 10 Jan 3 2004 mail -> spool/mail
drwxr-x--- 5 root named 4096 Jan 3 2004 named
drwx------ 2 root root 4096 Oct 12 15:49 net-snmp
drwxr-xr-x 2 root root 4096 Aug 12 2004 nis
drwxrwxr-x 5 root root 4096 Oct 1 14:30 opennms
drwxr-xr-x 2 root root 4096 Aug 12 2004 opt
drwxr-xr-x 2 root root 4096 Aug 12 2004 preserve
drwxr-xr-x 28 root root 4096 Oct 12 15:50 run
drwxr-xr-x 26 root root 4096 Jan 3 2004 spool
drwxrwxrwt 4 root root 4096 Oct 4 10:16 tmp
drwxr-xr-x 9 root root 4096 Oct 1 12:01 tomcat4
drwx------ 2 root root 4096 Jul 8 2004 tux
drwxr-xr-x 9 root root 4096 Jan 3 2004 www
drwxr-xr-x 3 root root 4096 Jan 3 2004 yp

Try this. and do no use the same comand try to recursive on idividual
directories

Nilesh
On 10/11/05, Jai Parkash Rangi <jprangi@xxxxxxxxx> wrote:
>
> Hello,
> During the named configuration I run this command on fedora 4.0
>
> /cd var
> chwon -R named:named named.
>
> Somehow it changes theowenership of a lot of other files. and directories
> Is there any easy way to reset the file owenership to the defaluts/
> original
>
> Thanks
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux