GNU bug report logs - #10366
hello, i have a problem when i use chmod, can u explan why?thks

Previous Next

Package: coreutils;

Reported by: lidong_bit <lidong_bit <at> 126.com>

Date: Sun, 25 Dec 2011 19:33:02 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10366 in the body.
You can then email your comments to 10366 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#10366; Package coreutils. (Sun, 25 Dec 2011 19:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to lidong_bit <lidong_bit <at> 126.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 25 Dec 2011 19:33:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: lidong_bit <lidong_bit <at> 126.com>
To: bug-coreutils <at> gnu.org
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)
[Message part 1 (text/plain, inline)]
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.
administrator <at> ubuntu:/var$ sudo chmod a +w -R ./www/
chmod: invalid mode: `a'
Try `chmod --help' for more information.
administrator <at> ubuntu:/var$

2.
administrator <at> ubuntu:/var$ sudo chmod o +w -R ./www/
chmod: invalid mode: `o'
Try `chmod --help' for more information.
administrator <at> ubuntu:/var$


I don't why this happens, is it a buy? or is it forbidden?
[Message part 2 (text/html, inline)]

Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Mon, 26 Dec 2011 16:45:02 GMT) Full text and rfc822 format available.

Notification sent to lidong_bit <lidong_bit <at> 126.com>:
bug acknowledged by developer. (Mon, 26 Dec 2011 16:45:02 GMT) Full text and rfc822 format available.

Message #10 received at 10366-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: lidong_bit <lidong_bit <at> 126.com>
Cc: 10366-done <at> debbugs.gnu.org
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
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.
> administrator <at> ubuntu:/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.




Added tag(s) notabug. Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Mon, 26 Dec 2011 17:29:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#10366; Package coreutils. (Mon, 26 Dec 2011 21:32:01 GMT) Full text and rfc822 format available.

Message #15 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ilusionoflife <illusion.of.life92 <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Re: bug#10366: hello, i have a problem when i use chmod,
	can u explan why?thks
Date: Mon, 26 Dec 2011 19:09:36 +0400
On Sunday 25 December 2011 22:51:21 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.
> administrator <at> ubuntu:/var$ sudo chmod a +w -R ./www/
> chmod: invalid mode: `a'
> Try `chmod --help' for more information.
> administrator <at> ubuntu:/var$
> 
> 2.
> administrator <at> ubuntu:/var$ sudo chmod o +w -R ./www/
> chmod: invalid mode: `o'
> Try `chmod --help' for more information.
> administrator <at> ubuntu:/var$
> 
> 
> I don't why this happens, is it a buy? or is it forbidden?
You are not allowed to use space between first letter and plus sign. 
I am not specialist to say if this behavior comforms to any standarts.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Jan 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.