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

Re: [leafnode-list] Permissions



On Sun, 6 Jun 1999, Jeff Grossman <jeff@xxxxxxxxxxx> wrote:
> They should be:
>
> drwxrwsr-x   2 news     news         1024 Jun  4 04:22 failed.postings/
>
> But my directory shows this:
>
> drwxr-sr-x   2 root     news         1024 Feb  7 16:22 failed.postings
>
> What is the chmod command to correct this problem?

    chmod g+w failed.postings

I pretty much don't bother with the octal form of chmod any more,
because you can do "+" and "-" with the symbolic modes (as here), it's
a lot more mnemonic to do things like

    chmod u=rw,go=r mydata
    chmod a+x myscript

, "X" is neat, and I agree with

> The "s" in the middle is throwing me.

> p.s.  Hmmm, I just noticed that it is also set as root:news instead of
> news:news.  I should fix that also.

    chown news.news failed.postings

-- 
                   *** NEW HOME E-MAIL ADDRESS ***
Tim McDaniel (home); Reply-To: tmcd@xxxxxxxx; 
if that fail, my work addresses are  tmcd@xxxxxxxxxxxxxx and tmcd@xxxxxxxxxxx
tmcd@xxxxxxxxxxxxxxxxx is a lie; tmcd@xxxxxxx is old and will go away.

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list