bug#22185: Operation not permitted for `touch -d` on 777 file

2015-12-16 Thread Paul Eggert
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

bug#22185: Operation not permitted for `touch -d` on 777 file

2015-12-16 Thread Assaf Gordon
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

bug#22185: Operation not permitted for `touch -d` on 777 file

2015-12-16 Thread Assaf Gordon
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

bug#22185: Operation not permitted for `touch -d` on 777 file

2015-12-16 Thread Silvio Ricardo Cordeiro
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

bug#22183: date returns incorrect string for Wednesday in Marathi locale

2015-12-16 Thread Richard J. Cotton
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

bug#22183: date returns incorrect string for Wednesday in Marathi locale

2015-12-16 Thread Pádraig Brady
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.