Feature Requests item #1407204, was opened at 2006-01-16 11:11
Message generated for change (Settings changed) made by mr-meltdown
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482471&aid=1407204&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: MonetDB - GDK
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Marcin Zukowski (e-r00)
Assigned to: Nobody/Anonymous (nobody)
>Summary: GDK: file/dir creation mask

Initial Comment:
It would be nice to be able to specify that all
MonetDB-created files and directories have a given
mask, e.g. 664/775.
This is useful e.g. when multiple people from the same
group want to work on the same database with MonetDB. 


----------------------------------------------------------------------

Comment By: Sjoerd Mullender (sjoerd)
Date: 2006-01-17 14:37

Message:
Logged In: YES 
user_id=43607

You cannot get more permissions through the use of umask. 
Umask only removes permissions.

----------------------------------------------------------------------

Comment By: Marcin Zukowski (e-r00)
Date: 2006-01-17 14:25

Message:
Logged In: YES 
user_id=607094

One more comment.
Maybe I do something wrong, but umask also doesn't influence
file creation.

umask 0002
Mserver --dbfarm=$PWD --dbname=tmp
ls -l tmp/bat/BACKUP

I get
-rw-r--r--  1 marcin ins 54 Jan 17 14:23 BBP.dir

I think possibility to specify umask for files/dir in
MonetDB could also be used to protect one's data, e.g. by
running Mserver --umask=077


----------------------------------------------------------------------

Comment By: Marcin Zukowski (e-r00)
Date: 2006-01-16 11:22

Message:
Logged In: YES 
user_id=607094

umask doesn't work.
There are places in GDK when 755 is hardcoded.


----------------------------------------------------------------------

Comment By: Fabian (mr-meltdown)
Date: 2006-01-16 11:18

Message:
Logged In: YES 
user_id=963970

How about setting the umask before starting the Mserver process?

I think allowing this is potentially dangerous, so it should
not be facilitated in any way...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482471&aid=1407204&group_id=56967

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to