similar to: File permission umask howto?

Displaying 20 results from an estimated 10000 matches similar to: "File permission umask howto?"

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
2002 Apr 11
3
rsync processes hang and client failing on "max connections"
rsync processes hang and client failing on "max connections", I can't kill rsync process. The temporary work around are: increase max connections in /etc/rsyncd.conf or reboot the server ! The client get this error: @ERROR: max connections (6) reached - try again later $ ps -aux | grep rsync admin 30408 0.0 0.0 1696 232 ? S Mar26 0:00 [rsync] admin 28121 0.0
2011 May 16
2
allowing users to write to a web content area
Hello, I've got apache running on a centos 5.6 machine. All of my users have a umask of 077 set in /etc/bashrc. I'm now wanting to give several of them permission to write to a web area so they can place content visible to the web server. I've got two groups webdev1 and webdev2 which I want one to be able to write to site1 and the other to site2. I've got between 3 and 5 users in
2002 May 22
2
rsync bottleneck
Hello, I'm planning to use rsync for backup a lot of nodes to one rsync server over wan. I'm aware of the fact that on big directory tree rsync will consume a lot of memory and some time even hang. Do you have any estimation on how many rsync client can work with one server at the same time ? I can control each client bandwidth. What will be the bottleneck on the server resource ? Is
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
2004 Sep 22
1
sshd umask settings vs security
Will setting the umask that sshd inherits cause any security issues? It would be nice to be able to set this in a system-wide fashion, rather than in .login etc. I'm thinking of Debian, where the setting is per-shell because nobody seems to have thought of doing this. Cheers, Jeremy -- Jeremy Jackson Coplanar Networks (519)897-1516 http://www.coplanar.net
2004 Sep 22
1
idmap_ad: sid to uid conversion fails
I have two boxes on which I am trying to get idmap_ad (from xad_oss_plugins) to provide uid/gid mapping, and am getting the error: "Could not convert sid <sid of some_user> to uid" The story so far goes like this: Without the line "idmap backend = ad:ldap://<PDC's FQDN>/" in smb.conf, I can successfully do all of: #> wbinfo -S $(wbinfo -n some_user | awk
2009 Nov 30
1
Dovecot 1.2.x masteruser proxy problem
Greetings to all I need a masteruser/proxy account for some applications to be implemented and i am having some problems. Normal users are proxyied through ldap queries to the remote machine and this is working like it sopose to, but i can't make the master user to work. Below are both the dovecot.conf and dovecot-ldap.conf and verbose logs on the proxy machine. If i log directly on the
2006 Jun 13
2
Locating an arbitrary fixture...
Is there a good way to get an arbitrary fixture from the generated fixture function? I need a way to get one of my fixtures, I don''t care which one. It doesn''t need to be random and could always return the same fixture. This is part of a support function for custom assertions and it doesn''t know what class its working on, let alone what fixture names are possible.
2001 Feb 06
16
sftp client
As of Sunday evening, OpenSSH has an interactive sftp client. It should be in the more recent snapshots. It would be appreciated if you could test new client and find all the bugs :) Please also have a read of the manpage and ensure that it matches what is implemented. I am working on fixing the ones that I know about, so please try to stay up to date with the snapshots. Thanks, Damien
2008 Jan 31
1
RFC: ssh-copy-id tweaks
I'd like to propose a couple of tweaks to ssh-copy-id: o Change the default ID_FILE from identity.pub to id_dsa.pub or perhaps {id_dsa,id_rsa,identity}.pub to cover all the bases, although the patch below deals only with id_dsa.pub - it would need some more tweaking to deal with more than one (possibly non-existent) file. o If the destination authorized_keys file already contains the
2017 Jun 26
2
Install locks up my server
On 06/26/17 14:42, Timo Sirainen wrote: > On 26 Jun 2017, at 23.19, Marc Perkel <marc at perkel.com> wrote: >> Ever since 2.26 I haven't been able to upgrade. In fact the install locks up my server. >> >> I get into and infinite recursive loop where the config-guess program calls itself until the server locks up from overload. >> >> I'm running Centos
2018 May 02
2
samba 4 joining samba 3 pdc - group mismatch
Hi all Background: I am not a samba expert, not even close! I have a ancient samba 3 (Server role: ROLE_DOMAIN_PDC) and I intend to migrate all files to a samba 4 (Server role: ROLE_DOMAIN_MEMBER) Users will stay in S3 for now. Samba 4 joined samba 3 with no problems. I rsync'ed all files and its permissions (rsync -a ...). But... I cannot find a way that makes S4 sees S3 users and groups
2008 Mar 07
0
umask in nfs
Normal users umask is 022 set in /etc/bashrc Obviously I can change that value to 002 but that would affect all files created by each user. Is it possible to set a different umask on nfs mounts only so that user created files have a umask of 002 on files saved onto that mount? man mount shows this is possible on some filesystems but man nfs doesn't suggest that this is possible. Craig
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! --
2003 Sep 18
1
2.2.8a newbie path problem
Hi I'm presently installing 2.2.8a on Mandrake 9.1 I'm a newbie to Linux as well as Samba, so it's been fun... When I first installed Linux I installed Samba from the discs (2.2.7a), but on reading up on the subject it became clear that I should give installing the source a go. My problem is this - I don't think I have rerouted all of the paths to usr/local/samba from what
2004 Apr 20
2
Upgrade & directory permissions
I've just upgraded the version of Samba we're running from 2.2.2 to 3.0.2a and am seeing an issue with permissions on directories. Users can still map the shares that are set up, but cannot access the directories within those shares. This is also not consistent; it's not happening to all users. Our environment: Samba 3.0.2a Domain Authentication to a Win2K server No Winbind Solaris
2018 Jan 16
3
SSH with User in Member Domain
Uhum, i tested with ssh:  ssh XXX at FILESERVER  journalctl -f Jan 16 18:28:42 HOSTNAME  sshd[2250]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=IP-SOURCE  user=XXXXX Jan 16 18:28:43 HOSTNAME  sshd[2250]: Failed password for XXXX from IP-SOURCE  port 39896 ssh2 Regards; On 16-01-2018 18:25, Rowland Penny via samba wrote: > On Tue, 16 Jan
2014 Apr 01
2
problema con RStudio
Pues ahí lo tienes. De alguna manera R (a través de RStudio) no está incorporando el directorio /u01/app/luisr/product/11.1.0/client_1/lib donde se ve que tienes las librerías de ODBC al "LD path". Échale un vistazo a https://support.rstudio.com/hc/communities/public/questions/200641818-How-to-configure-libPaths-?locale=en-us Aparentemente RStudio tiene su propio sistema para
2011 Mar 25
3
Default permissions for creating a new user
I know this is a Linux 101 question, however I am unable to locate the answer in my O'Reilly Linux book: how to set the default for permissions when creating a new user. The default for the GUI in my newly installed Centos 5.5 is 700. I usually use 774. And when root creates a new directory, is there a way to have a default there too? Lastly, if root or someone with root privileges