Displaying 20 results from an estimated 60000 matches similar to: "umask in nfs"
2014 Jun 11
2
umask setting in /etc/profile not working
Hey all,
We have the following set in /etc/profile :
umask 0002
so that it will affect all users. That should create all files as 664 and
all directories as 775 if I'm not mistaken.
Well I logged into the machine after this was set and just created a file
as one of the users who complained about permissions settings on files. And
this is what I saw:
[user1 at qa_host ~]$ ls -l test_qa
2005 Aug 26
0
umask and nautilus/gnome
Hi,
Does anyone know how to set umask such that nautilus actually obeys it? I
have umask 002 added to the end of .bashrc, and if I touch a file from a
gnome terminal, I correctly get -rw-rw-r--. However if I right click in a
nautilus window and "create document" then "empty file" I end up with
-rw------ which is obviously going to be a royal pita for group working!
--
2002 Mar 30
1
File permission umask howto?
I'm trying to figure out how to cause rsync to
create the file on the backup server with 700 permission
and specific owner "some_user" (not root)
I try to do it in several way with no success.
The command I'm using is:
rsync -r -t -v -z /dir some_user@server::module
so that it don't copy permission
It always give the files 744 permission, that mean that every on can read
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 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
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
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
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
2013 Jul 10
0
install.packages umask configuration
Hi,
The R-admin manual says:
"If installing packages on a Unix-alike to be used by other users,
ensure that the system umask is set to give sufficient permissions
(see also Sys.umask in R). (To a large extent this is unnecessary in
recent versions of R, which install packages as if umask = 022.)"
I want install.packages() to honor my umask which is 002. I can't find
a way to do
2012 Aug 17
0
install.packages umask configuration
Hello,
I've been trying to setup a site library that allows the users to manage
the R packages themselves, but am having an issue with permissions. As
seen below, when installing a package using install.packages, the umask
used is always 022. Instead, I would like it to be 002, allowing any user
to update packages that were installed by another user. Can someone
explain how to get
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
2013 Feb 04
0
install.packages umask configuration
I have the same problem as Daniel Westphal, packages are always installed with umask 022, I'd like 002.
Any solution so far?
Thank you.
Francois
[[alternative HTML version deleted]]
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 13
4
Apache umask
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 doesn't make any difference.
Any suggestion from
2020 Jul 13
0
Apache umask
>> 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 doesn't make any
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)
2001 Jan 28
6
File permission
How are file permissions determined under Samba? If I log onto my Linux
server (terminal session using Putty) and create a file that file is given
the following file permissions (rw- rw- r--). That is correct, because in my
home directory I have a .bashrc file that has a umask command that states
umask 002.
However, when I use Samba to log onto my Linux server and use Word/Excel to
create a file
2020 Jul 15
2
Apache umask
On 7/13/20 4:21 PM, Phoenix, Merka 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