Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: setopt noclobber in /proc-filesystem



Michael Prokop wrote:
> 
> *I* do know that I can use sysctl and 'echo >|...' but other users
> do *not*. Therefore I need a solution where something like
> echo 3 > /proc/acpi/sleep
> works out-of-the-box.

The only way to do that would be to modify the C code to check the
filesystem type of the file being written to.

Alternatively, you might want to rethink why you want to impose the
noclobber option on your users. You may like the option but many people,
including myself, find it to be a nuisance.

Oliver


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.



Messages sorted by: Reverse Date, Date, Thread, Author