Displaying 20 results from an estimated 11000 matches similar to: "create mask vs security mask"
2002 Jul 17
1
Re: smb.conf - fixed? :)
open("/usr/local/samba/var/log.smbd",
O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = -1 EACCES (Permission
denied)
umask(0) = 022
brk(0x81e6000) = 0x81e6000
stat64("", 0xbfffed80) = -1 ENOENT (No such file or
directory)
umask(022) = 0
That "No such file or directory"
2002 Mar 06
1
samba 2.2.3a on PPC
I can join a domain, but wbinfo -t does not work. I used Mandrake's
.src.rpm. I tried the same .src.rpm on a x86 machine and it works.
strace's are attached. Any ideas?
...Jeff
-------------- next part --------------
execve("/usr/bin/wbinfo", ["wbinfo", "-t"], [/* 38 vars */]) = 0
uname({sys="Linux", node="balsa", ...}) = 0
2010 Nov 02
1
SFTP subsystem and umask
Hello,
I have noticed that the -u parameter to the sftp-server or internal-sftp subsystem is not working correctly. For openssh-5.6p1 I believe that the problem lies in this code, starting at line 1414 in sftp-server.c:
----------------------------------------------------------
case 'u':
mask = (mode_t)strtonum(optarg, 0, 0777, &errmsg);
if (errmsg != NULL)
2004 Aug 17
1
create mask
Hello.
I have set up a new samba server here at work, and for most things it is
working great -- but there is yet one major issue.
It works fine for Windows and Dave clients, but the problem arises when I use
smbmount. It is set up as a domain member of an ADS domain.
For example, I have a public share that everyone in the office should be able
to access, regardless of platform or even
2013 Apr 29
1
Asterisk 11.3.0 - Mask for new file not correct
Hello,
I'm facing a rights issue on with Asterisk 11.3.0 running on CentOS release 5.8. Asterisk process is running with asterisk since it is define in asterisk.conf as following:
runuser = asterisk
rungroup = asterisk
You can see asterisk proccess here:
ps aux |egrep 'python|asterisk'
root 11581 0.0 0.1 65940 600 ? S Apr17 0:00 /bin/sh /usr/sbin/safe_asterisk
2003 Nov 17
1
rsync --daemon and logfile that can't be created
If the rsyncd.conf has a line such as:
log file = /var/log/rsync/log
and /var/log/rsync doesn't exist or isn't a directory (or the log file
can't be opened for any other reason), then there's no warning
whatsoever, as rsync forks itself into the background before checking
the config, opening the log file, etc.
Worse still, it gets a SIGSEGV, and dumps core. Here's a strace
2003 Oct 24
0
pam_smbpass can't find password database
Hello
Sorry for disturbing again. It looks like I must pass lot of compilation issues to force pam_smbpass working. And I don't believe, that nobody faced same problems as I do, because I am using quite trivial configuration without success, so maybes somebody can share experience with pam_smbpass under Solaris or help me identify what's wrong with it ?
So finally I wrote my own pam
2008 Oct 29
0
ssh disregarding umask for creation of known_hosts (and other files?)
Hey folks--
When ssh creates a known_hosts file for a user, it disregards the
currently-set umask, and can actually turn on mode bits that the user
has explicitly masked. While i'm happy to have ssh make files *more*
secure than my umask (in situations where that's reasonable, like the
creation of new ssh keys, etc), i'm not sure that i see the point in
ssh making the files more open
2006 Sep 11
1
Wrong content-type reported for messages with only a text/html body?
Hi all,
It looks like Dovecot 1.0rc7 reports the wrong content-type for messages
with only a text/html body. An example of such a message is:
---
From: mathijs at izecom.com
Subject: test
To: foobar at example.com
Content-Type: text/html;
test
---
When I talk IMAP to Dovecot directly using telnet and fetch the
bodystructure of this message, Dovecot replies:
* 1 FETCH (BODYSTRUCTURE
2001 Feb 21
1
sftp-server and chown
Hi,
I've already discussed this issue in SSHSCI's SSH 2.2 context on
ssh at clinet.fi list. My standpoint is that it's wrong and meaningless
to perform chown in sftp-server as the file is most likely copied
between systems with distinct accounting system where user is not
necessarily (and even unlikely) has same numeric user id. The original
bug report was that user couldn't
2006 Sep 05
2
Mongrel and umask for uploaded files
So any files that are uploaded through my form are getting the following mode:
-rw-------
I need them to have:
-rw-r--r--
I''ve tried setting the umask in a script file called set_umask.rb as follows:
File.umask(022)
and then starting mongrel using:
mongrel_rails start -m config/mime.types -S set_umask.rb
but it doesn''t seem to change the mode that the files are created
2020 Jul 20
2
Apache umask
> On 7/13/20 6:40 PM, Emmett Culley via CentOS wrote:
>> I need to set the umask for apache to 002.? I've tried every idea I've
>> found on the internet, but nothing make a difference.? Most suggest that
>> I put "umask 002" in /etc/sysconfig/httpd, but that doesn't seem to make
>> a difference.? Other's suggest adding something to the
2001 Nov 22
2
Add new user -> swat core dump
Hi there,
I have a problem when I try to create a new user with swat. I use binaries of
Samba 2.2.2 coming from www.samba.org, or from www.sunfreeware.com
on Solaris 2.6 and on 8. I compiled the sources and the result is the same.
When I click on "Add New User" (Server Password Management), I receive
a nearly blank page: I can only see the samba gif on top and the user is not
2005 Mar 26
1
test65 "deliver" LDA bug
Hello.
I've tried to implement dovecot's deliver LDA to my home mailserver.
I've run into troubles :)
dovecot-deliver.conf:
-- snip --
mail = maildir:%h/Maildir:INBOX=maildir:%h/Maildir
mbox_read_locks = flock
mbox_write_locks = flock
-- snip --
when i run:
deliver -d bfg < email.txt dovecot delivers message to ~/Maildir/maildir/new
It acctually creates "maildir"
2020 Jul 21
2
Apache umask
> On 7/19/20 10:41 PM, Simon Matter via CentOS wrote:
>>> On 7/13/20 6:40 PM, Emmett Culley via CentOS wrote:
>>>> I need to set the umask for apache to 002.? I've tried every idea I've
>>>> found on the internet, but nothing make a difference.? Most suggest
>>>> that
>>>> I put "umask 002" in /etc/sysconfig/httpd, but
2009 Jan 09
1
setting umask for internal-sftp users
I'm running OpenSSH 5.1p1 on openSUSE 10.3 (i586) and I want to setup chroot jails for certain
SFTP-only users. I use the following lines in my sshd_config file:
Match Group sftponly
ChrootDirectory /home/chroot-%u
ForceCommand internal-sftp
It works great.
The problem is that some of my users need umask 002 for their uploads. I tried a few ways to
achieve this:
* set umask in sshrc,
2020 Jul 21
0
Apache umask
On 7/21/20 9:59 AM, Simon Matter wrote:
>> On 7/19/20 10:41 PM, Simon Matter via CentOS wrote:
>>>> On 7/13/20 6:40 PM, Emmett Culley via CentOS wrote:
>>>>> I need to set the umask for apache to 002.? I've tried every idea I've
>>>>> found on the internet, but nothing make a difference.? Most suggest
>>>>> that
2020 Jul 20
0
Apache umask
On 7/19/20 10:41 PM, Simon Matter via CentOS wrote:
>> On 7/13/20 6:40 PM, Emmett Culley via CentOS wrote:
>>> I need to set the umask for apache to 002.? I've tried every idea I've
>>> found on the internet, but nothing make a difference.? Most suggest that
>>> I put "umask 002" in /etc/sysconfig/httpd, but that doesn't seem to make
2019 Apr 12
0
Nautilus and umask on CentOS 7 with Gnome3
We have a problem whereby Nautilus is not using the umask setting
defined by the user (e.g. when creating directories via the the 'Places'
menu). The umask used by Nautilus is 022, but the shell umask (in our
case) is set to 002
A quick search seems to suggest that this a common problem, and various
methods are suggested to 'fix' this - the only way that appears to work
on
2020 Jul 19
0
Apache umask
On 7/13/20 6:40 PM, Emmett Culley via CentOS wrote:
> I need to set the umask for apache to 002.? I've tried every idea I've found on the internet, but nothing make a difference.? Most suggest that I put "umask 002" in /etc/sysconfig/httpd, but that doesn't seem to make a difference.? Other's suggest adding something to the httpd.service script for systemd.? And that