umask

Get help, report and discuss bugs.
Post Reply
nobody

umask

Post by nobody » 14 Dec 2007, 10:51

Any chance to add a default umask for files and dirs?

Regards,
w00dst0ck

hugbug

RE: umask

Post by hugbug » 14 Dec 2007, 12:10

Do you mean a configurable option?

nobody

RE: umask

Post by nobody » 14 Dec 2007, 14:11

Yes, that would be great!

hugbug

RE: umask

Post by hugbug » 15 Dec 2007, 14:10

Added a new option "umask":
-----
# Specify default umask (affects file permissions) for newly created files (POSIX only).
# The value should be written in octal form (the same as for "umask" shell command).
# If umask not specified (or a value greater than 0777 used, useful to disable current
# config-setting via command-line parameter) the umask-mode will not be set and
# current umask-mode (set via shell) is be used.
# NOTE: do not forget to uncomment next line.
#umask=022
-----

Please take a new version from svn and let me know if it works as wanted.

Best Regards,
hugbug

nobody

RE: umask

Post by nobody » 02 Jan 2008, 22:33

Hi hugbug,

do you think it would be possible to update the optware binaries?
Because I don't have the tools to compile it my self for the Synology
DS-106e I have to wait for an update at optware.

Best Regards,
w00dst0ck

hugbug

RE: umask

Post by hugbug » 02 Jan 2008, 23:58

Optware repository takes the last published version.
As soon as a new version is published here, it will be updated in optware.

I'm going to release the next version in a few weeks.

Have you tried to install a build environment for DS-106e on your computer? It should be not very hard (if it is a part of www.nslu2-linux.org-project or am I wrong?). Which optware-target do you use? ds101g?

hugbug

RE: umask

Post by hugbug » 03 Jan 2008, 11:14

OK, I've managed to compile it for ds101g (hope this is your target).
Let me know your email-address and I'll send you new binary.

(hugbug at users.sourceforge.net)

nobody

RE: umask

Post by nobody » 05 Jan 2008, 00:08

Thanx for that test binary.
It works great at DS-106e(ds101g) optware-target.

Checked that umask option and it seems to work like it have to.

Offtopic: Like the group feature too.

Best regards,
w00dst0ck

Post Reply

Who is online

Users browsing this forum: No registered users and 61 guests