Re: [CentOS] change owner

2010-04-04 Thread Ryan Wagoner
Do an ls -lha public_html  in the user's folder and look what group
the files are owned by. Then do chown username:group -R public_html.

Ryan

2010/4/2 cahit Eyigünlü cahit.eyigu...@gmail.com:
 the main problem that i have copied files directly to public_html folder and
 it is returnin 500 internal error now ,
 and i need to allow the web user of this folder to read write content of
 this folder

 2010/4/3 Niki Kovacs cont...@kikinovak.net

 cahit Eyigünlü a écrit :
  do you mean that for example a folder of root will be owned by 
  chown -R root: /path/*
 

 I think it would be wise to read some basic *nix documentation.
 Something like :

 * Linux Cookbook (Carla Schroder)
 * Definitive Guide to CentOS
 * Foundations of CentOS
 * Red Hat Enterprise Linux 5 Administration

 It's not much use trying to fly a plane by pushing all the buttons and
 see what they do. This advice is meant in a friendly way.

 Cheers,

 Niki
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-04 Thread cahit Eyigünlü
That worked thanks

2010/4/4 Ryan Wagoner rswago...@gmail.com

 Do an ls -lha public_html  in the user's folder and look what group
 the files are owned by. Then do chown username:group -R public_html.

 Ryan

 2010/4/2 cahit Eyigünlü cahit.eyigu...@gmail.com:
  the main problem that i have copied files directly to public_html folder
 and
  it is returnin 500 internal error now ,
  and i need to allow the web user of this folder to read write content of
  this folder
 
  2010/4/3 Niki Kovacs cont...@kikinovak.net
 
  cahit Eyigünlü a écrit :
   do you mean that for example a folder of root will be owned by 
   chown -R root: /path/*
  
 
  I think it would be wise to read some basic *nix documentation.
  Something like :
 
  * Linux Cookbook (Carla Schroder)
  * Definitive Guide to CentOS
  * Foundations of CentOS
  * Red Hat Enterprise Linux 5 Administration
 
  It's not much use trying to fly a plane by pushing all the buttons and
  see what they do. This advice is meant in a friendly way.
 
  Cheers,
 
  Niki
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
i have downloaded files with root to a user's folder but now he is not able
to delete some of them because owner is root how could i change the owner of
all folders and subfolders and files under a directory
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread Clive Hills
The command you want is chown : read man chown.

Clive
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
which is user name :)

2010/4/2 Clive Hills discordia...@gmail.com

 The command you want is chown : read man chown.

 Clive

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread Paul Stuffins
2010/4/2 cahit Eyigünlü cahit.eyigu...@gmail.com:
 which is user name :)

 2010/4/2 Clive Hills discordia...@gmail.com

 The command you want is chown : read man chown.

 Clive

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



chown --help will also help you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
thanks


2010/4/3 Paul Stuffins dephe...@fsirc.net

 2010/4/2 cahit Eyigünlü cahit.eyigu...@gmail.com:
  which is user name :)
 
  2010/4/2 Clive Hills discordia...@gmail.com
 
  The command you want is chown : read man chown.
 
  Clive
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 

 chown --help will also help you
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread Niki Kovacs
cahit Eyigünlü a écrit :
 thanks
 

# chown -R youruser:youruser /path/to/your/downloaded/files

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
do you mean that for example a folder of root will be owned by 
chown -R root: /path/*


2010/4/3 Niki Kovacs cont...@kikinovak.net

 cahit Eyigünlü a écrit :
  thanks
 

 # chown -R youruser:youruser /path/to/your/downloaded/files

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread Niki Kovacs
cahit Eyigünlü a écrit :
 do you mean that for example a folder of root will be owned by 
 chown -R root: /path/*
 

I think it would be wise to read some basic *nix documentation. 
Something like :

* Linux Cookbook (Carla Schroder)
* Definitive Guide to CentOS
* Foundations of CentOS
* Red Hat Enterprise Linux 5 Administration

It's not much use trying to fly a plane by pushing all the buttons and 
see what they do. This advice is meant in a friendly way.

Cheers,

Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
the main problem that i have copied files directly to public_html folder and
it is returnin 500 internal error now ,
and i need to allow the web user of this folder to read write content of
this folder

2010/4/3 Niki Kovacs cont...@kikinovak.net

 cahit Eyigünlü a écrit :
  do you mean that for example a folder of root will be owned by 
  chown -R root: /path/*
 

 I think it would be wise to read some basic *nix documentation.
 Something like :

 * Linux Cookbook (Carla Schroder)
 * Definitive Guide to CentOS
 * Foundations of CentOS
 * Red Hat Enterprise Linux 5 Administration

 It's not much use trying to fly a plane by pushing all the buttons and
 see what they do. This advice is meant in a friendly way.

 Cheers,

 Niki
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos