Displaying 20 results from an estimated 12000 matches similar to: "Setting the File/Folder chmod bits - Wish List ?"
2001 Sep 27
3
[PATCH] ssh-copy-id should do chmod go-w
Hi,
quick patch to ssh-copy-id to make it set the file modes more
correctly.
Thanks,
Matthew
--- contrib/ssh-copy-id.orig Thu Sep 27 21:47:44 2001
+++ contrib/ssh-copy-id Thu Sep 27 21:47:52 2001
@@ -33,7 +33,7 @@
exit 1
fi
-{ eval "$GET_ID" ; } | ssh $1 "test -d .ssh || mkdir .ssh ; cat >>
.ssh/authori
zed_keys ; chmod g-w . .ssh .ssh/authorized_keys"
+{ eval
2007 Apr 24
2
chmod sftp command and setgid/setuid bit
Hi OpenSSH developers,
I'm using OpenSSH on a daily basis and I'm very pleased
with the work you've done.
I am contributing to some Open Source software hosted at Savannah
https://savannah.nongnu.org/projects/tsp
and we recently hit some sftp unexpected behavior:
https://savannah.gnu.org/support/?105838
when using chmod sftp client command
it appears that setuid / setgid bits are
2002 Apr 04
2
chmod patch
That looks good.
A couple of points:
- You should put your own name in the copyright in the new files, and
add the GPL boilerplate from one of the existing files.
- You need to check whether the behavior with downlevel clients and
servers will be acceptable.
- Ideally there would be a unit test just for the chmod parser.
- Please document the fields in chmod_struct.
- I'm
2006 Sep 22
2
incoming chmod on daemon fails on subdirectories
Running rsync 2.6.8 as daemon on Fedora core 4. Have the following in
the rsyncd.conf file...
[test]
path = /home/test/greenlight
# use chroot = true
max connections = 3
lock file = /var/lock/rsyncd/test.lock
uid = 503
gid = 503
auth users = test
incoming chmod = Dg=s,Dug=rwx,Do-rwx,Fug=rw,Fo-rwx
Uploading a tree from windows with
2004 Oct 28
6
Problems with Port Forwarding
Hello all,
Running the "ancient" 1.4.7-RC1 version I have a problem with port
forwarding.
I have for a number of external fixed IP addresses forwarding to an internal
terminal server - this works :-)
DNAT net:111.22.33.44 loc:192.168.1.11 tcp 3389
DNAT net:222.33.44.55 loc:192.168.1.11 tcp 3389
Now I need to forward port 80 from one external address to an
2004 Nov 26
3
[OT] - Problem in DMZ
Hi everyone,
Sorry for asking OT here, but I need your expertise :-)
I am running a standard 3 I/F net, dmz, loc Shorewall 1.4.7 on a RH 9 server
In the DMZ I have a web shop running with DNAT from the external address to
the DMZ - this all works
I want to add a develop server in the DMZ with external access so I set this
up as per the live server and from internal network it works, but from
2004 Jul 26
3
Intermittently denying access to webshop
Hello shorewall-users,
we have a strange problem where some of our customers cannot access our
webshop, but most of the customers can. I have been slowly eliminating
possibilities and am now left with either the firewall (Shorewall 1.4) or the
webshop server.
What appears a lot in the logfiles is:
Jul 26 11:51:04 gw kernel: Shorewall:logdrop:DROP:IN=eth0 OUT=eth1 SRC=84.128.198.240
2011 May 04
2
create a folder with mode '0777'
Dear list,
I am trying to create a folder structure, say 'test/sub', and set the
folder and sub folder to be writable to everyone.
By default
dir.create('test/sub', recursive=TRUE, mode='0777')
creates folders with mode: drwxr-xr-x
After
Sys.chmod('test/sub',mode='0777')
The folder 'test' is: drwxr-xr-x
and the sub folder 'sub' is:
2006 Aug 28
4
Applying the same class to multiple interfaces
Hi All,
I''m trying to do some traffic shaping on an ethernet bridge. Currently,
I have the following setup working:
ifconfig eth0 down
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
brctl stp br0 off
ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
ifconfig br0 up
This creates a bridge consisting of eth0 and eth1. So far so good.
I now want to use tc to shape traffic
2007 Apr 04
4
Some advanced filtering questions
Hi All,
I need to do some tricky filtering stuff. Can anyone tell me if any of
the following are possible?
* match on a combination of firewall mark AND u32 criteria. ie. handle
6 fw AND u32 match ip src 1.2.3.4/32 - to match packets from 1.2.3.4
which have been marked elsewhere
OR
* to OR the values of u32 matches. Something like u32 match ip src
1.2.3.4/32 OR match ip dst 1.2.3.4/32 - to
2017 Apr 18
4
LDAP schema ?
Hi,
I am trying to determine the correct LDAP schema I need to use to have either
mailLocation or mailboxPath available ?
Should I be just adding this to one of my own custom objectClasses ?
-- Dave
2007 Mar 28
7
(no subject)
Hi all,
I''m having a hell of a time getting my IFB to work. I know I''ve done
this before, so I''m missing something stupid. Can anybody tell me what
it might be?
Configs as follows:
--------
#!/bin/sh
modprobe ifb numifbs=1000
modprobe act_mirred
modprobe 8021q
brctl addbr br0
brctl setfd br0 0
brctl stp br0 off
brctl addif br0 eth1
brctl addif br0 eth2
ifconfig eth1
2013 Feb 07
2
calling outside program to run from R - similar to X command in SAS
I'm new to R and have not been able to find what I am looking for online. I found the system command but that seems to be used for getting lists of directories, etc.
I am trying to replicate something that I used to do in SAS. I am simulating some data (which I can do in R with a particular package) and then trying to call an outside program to fit a specific model to the data. In SAS, the
2010 Aug 03
2
sorting by date
I am unsure how to sort a column by date if it is currently in the form:
YYYYMMDD
For example the months:
20071031
20071130
20071231
Etc.
Regards,
Leigh
[[alternative HTML version deleted]]
2004 Apr 28
1
Using mount -t smbfs in /etc/fstab and can't control chmod
I'm mounting a FAT partition on a linux ext3 fs server and I can change the
uid and gid of the mount point, but I can't get it to mount it 770 .. it
always mounts without group write permission
How can I mount it so the group has full permissions to it?
2007 Dec 05
3
Adding qdiscs crashes kernel??
Hi all,
I''m having some problems setting up qdiscs on a bridge.The config looks
a little like this:
ifconfig ifb0 up # Bring up the IFB for this bridge.
tc qdisc add dev eth2 ingress
tc qdisc add dev eth3 ingress
tc qdisc add dev ifb0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000
cell 8
# Raw qdiscs on each bridge port
tc qdisc add dev eth2 root handle 1:0 cbq bandwidth
2007 Apr 30
1
Maximum number of tc handles?
Hi all,
Can anybody tell me what the maximum number of handles are that I can
use when setting up qdiscs and classes in tc?
Regards,
Leigh
Leigh Sharpe
Network Systems Engineer
Pacific Wireless
Ph +61 3 9584 8966
Mob 0408 009 502
Helpdesk 1300 300 616
email lsharpe@pacificwireless.com.au
web www.pacificwireless.com.au
_______________________________________________
LARTC
2008 Mar 07
7
[Bridge] bridge, vlan and *no* stp/bpdu
Hello list,
I've posted here about this before, but I realise that it may have been
assumed that the bridged vlans simply put a switch port in a blocking
state and left my question ignored. So to recap.
I have two tg3 interfaces named 'in' and 'out' and a bridge named 'br0'
My vlan trunk is on the 'in' side of the network, and set as in.2, in.3
... The
2004 Mar 15
2
Bug in tapply with factors containing NAs (PR#6672)
Full_Name: George Leigh
Version: 1.8.1
OS: Windows 2000
Submission from: (NULL) (203.25.1.208)
The following example gives the correct answer when the first argument of tapply
is a numeric vector, but an incorrect answer when it is a factor. If the
function used by tapply is "length", the type and contents of the first argument
should make no difference, provided it has the same
2010 Nov 23
1
extracted residuals as single column
Dear list,
I am looking for some help with the format of extracted residual values
output from:
residuals (model1)
[1] 0.74140534 0.72464895 0.74873373 0.78313611 0.78836470 0.76934676
0.77448847 0.78465077 0.79278282
[10] 0.80852056 0.81442047 0.80890838 0.78335232 0.83127343 0.85895985
0.85743700 0.83578769 0.82265972
[19] 0.81611939 0.84459841 0.84346431 0.83469399 0.86057807