shmod

2016-03-19 Thread James K. Lowden
When errno is EACCESS, it's sometimes unclear what the problem is when the mode itself is OK. A file with mode 777 may be unreadable if there is one directory in the pathname that prevents access to it. I propose a new utility, shmod, to show the mode of the path to a file and report pro

Re: shmod

2016-03-19 Thread Jan Danielsson
On 18/03/16 01:34, James K. Lowden wrote: [---] > 4. -q option to print nothing if no error Would you consider making it quiet by default? It's kind of annoying having to silence tools run in cronjobs, I much prefer "say nothing unless you have something important to say.". -- Kind Regar

Re: shmod

2016-03-18 Thread James K. Lowden
On Fri, 18 Mar 2016 07:51:29 +0100 Jan Danielsson wrote: > On 18/03/16 01:34, James K. Lowden wrote: > [---] > > 4. -q option to print nothing if no error > >Would you consider making it quiet by default? > >It's kind of annoying having to silence tools run in cronjobs, I > much prefer