TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:13752] permissions
Rodney Ray wrote:
>
> 2nd I looked at the manpage on chmod and even looked it up in a book , but I
> still get this error message saying" invalid mode" this is what I'm doing
> ls-l
> drwxr-xr-x 2 root root 4096 Feb 19 12:08 images
> chmod htmlgroup+w images
> chmod: invalid mode
>
> I know the group exist but I'm not sure what I'm doing wrong...... Does
> chmod 765 file or directory allow to set it to a group??? If I'm on the
> right track is that not what the 6 is for in 765... if this is true what
> group is it?
>
> Thanks
There may be a trick to this that I don't know, but I don't think chmod
can change the user/group of a file. Break it down into two commands:
chgrp htmlgroup images
chmod g+w images
--
_ _ _ _ _ ___ _ _ _ ___ _ _ __ Give your child mental
/ \/ \(_)| ' // ._\ / - \(_)/ ./| ' /(__ blocks for Christmas.
\_||_/|_||_|_\\___/ \_-_/|_|\__\|_|_\ __)
[ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088@umn.edu ]