Silvio Ricardo Cordeiro wrote:
If other users have full control over the file (and surrounding directory),
shouldn't they be able to change its date?
Mode 777 does not mean full control; it merely means read, write, and execute
access is granted to everybody. Other users still cannot chmod
tag 22185 notabug
close 22185
stop
Additional information:
On 12/16/2015 01:19 PM, Assaf Gordon wrote:
Hello,
On 12/16/2015 09:39 AM, Silvio Ricardo Cordeiro wrote:
The following code fails whenever the specified date is different from `now`:
<...>
I see no description of that in the
Hello,
On 12/16/2015 09:39 AM, Silvio Ricardo Cordeiro wrote:
The following code fails whenever the specified date is different from `now`:
$ mkdir testdir; chmod 777 testdir; cd testdir
$ touch file; chmod 777 file
$ su another_user
$ touch -d 'now' file # works
$ touch -d 'yesterday' file
The following code fails whenever the specified date is different from
`now`:
$ mkdir testdir; chmod 777 testdir; cd testdir
$ touch file; chmod 777 file
$ su another_user
$ touch -d 'now' file # works
$ touch -d 'yesterday' file # fails
touch: setting times of ‘file’: Operation not permitted
To reproduce:
LANG="mr_IN.utf8" date -d 'Wednesday' +%A
I see the value
मंगळवार
This is the Marathi equivalent of Tuesday. LANG="mr_IN.utf8" date -d
'Wednesday' +%A returns the same string. Other Marathi weekdays are correct.
Regards,
Richie
WCM-Q
tag 22183 notabug
close 22183
stop
On 16/12/15 06:42, Richard J. Cotton wrote:
> To reproduce:
>
> LANG="mr_IN.utf8" date -d 'Wednesday' +%A
>
> I see the value
> मंगळवार
>
> This is the Marathi equivalent of Tuesday. LANG="mr_IN.utf8" date -d
> 'Wednesday' +%A returns the same string.