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

Re: [cobalt-users] unix / linux permissions & rights



> Another question... I have untar some files and sub-directorys in a
> directory on a site. I have to use the admin login and to to a "su" to
> uncompress.
> Now, all the files are under the admin rights....
>
> - How to give the "owner" rights to my client for every sub-dirs and the
> files ? (let say that his login is "John")

chown john filename

******
learn more with
man chown
info chown
******

> - And how can i delete a directory and sub-dirs, when some files are
> present, and don't want to delete each files manually ?  (like a "deltree"
> under DOS)

*************************
VERY POWERFUL (destructive)
rm -rf dirname
BE VERY CAREFUL
*************************
Learn more with
man rm
info rm

Zeffie
"ah something about something"