--- Begin Message ---
Subject: |
hello, i have a problem when i use chmod, can u explan why?thks |
Date: |
Mon, 26 Dec 2011 02:51:21 +0800 (CST) |
in /var/, i have a directory:www, its property is:
d-w------- 2 root root 4096 2011-12-26 01:24 www
i want to change the property so that all the user have the write authority:
1.
address@hidden:/var$ sudo chmod a +w -R ./www/
chmod: invalid mode: `a'
Try `chmod --help' for more information.
address@hidden:/var$
2.
address@hidden:/var$ sudo chmod o +w -R ./www/
chmod: invalid mode: `o'
Try `chmod --help' for more information.
address@hidden:/var$
I don't why this happens, is it a buy? or is it forbidden?
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#10366: hello, i have a problem when i use chmod, can u explan why?thks |
Date: |
Mon, 26 Dec 2011 16:41:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
tags 10366 notabug
On 12/25/2011 06:51 PM, lidong_bit wrote:
> in /var/, i have a directory:www, its property is:
> d-w------- 2 root root 4096 2011-12-26 01:24 www
> i want to change the property so that all the user have the write authority:
> 1.
> address@hidden:/var$ sudo chmod a +w -R ./www/
> chmod: invalid mode: `a'
You should not put a space after 'a'.
Please try: chmod a+w ...
cheers,
Pádraig.
--- End Message ---