10-07-2013
Quote:
Originally Posted by
tip78
hello mighty all
there's a problem in vsftpd
This is not a vsftp problem. This is not a bug or glitch. Nothing is broken. This is how file permissions are supposed to work.
Quote:
it's not working if mother-dir have -w
Yes, that's what "w" on folders does. It lets you alter the directory -- i.e. create or delete files.
Fortunately there's a way to do what you want... Set the sticky-bit on the folder.
chmod +t folder This will stop people from deleting files they don't own. This is how /tmp handles it.
Last edited by Corona688; 10-07-2013 at 12:43 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I have two problems:
1. The service command does not work on my system! I mean when I enter:
service ... start
I get: bash: service: command not found
2. I want to launch my vsftpd server. I tried to launch it using service command and you see that it didn't work!
Please help... (1 Reply)
Discussion started by: HSN
1 Replies
2. Linux
I setup vsftpd.conf as follows and tried to login using root and normal user 'winston' but failed authentication. Any idea what's wrong?
========================
CONTENTS OF /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
local_enable=YES
dirmessage_enable=YES
connect_from_port_20=YES... (3 Replies)
Discussion started by: panggou
3 Replies
3. UNIX for Dummies Questions & Answers
Hello,
When my fellow employees loggin to the FTP server they have no problems if they use FTP clients.
When they try and access the FTP site using their browsers using ftp://<domain> name all they get is a pub directory which is empty. They are not even prompted for loggin.
How to fix... (2 Replies)
Discussion started by: mojoman
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am using VSFTPD.
I have instructed it to send all logging informartion to /var/log/messages.
I would like it to record the names of users who have failed loggin attempts. I have read up on it but have not found out how to do this. Any ideas? (1 Reply)
Discussion started by: mojoman
1 Replies
5. UNIX for Dummies Questions & Answers
Hi there.
Im studying and i've got an exercise that i cannot fully understand. Im trying and testing, but it didnt works
What i need to configure ftps ( vsftpd ) with openssl? (1 Reply)
Discussion started by: andriusman
1 Replies
6. Red Hat
hi everybody,
i am new to linux. iam using centos 6.2, and trying to configure ftp server in my local network, i have seen one fpt server how to videos tutriol but iam unable to follow i have some confussion in /etc/vsftpd/vsftpd.conf about userlist_enable and userlist_deny,... (6 Replies)
Discussion started by: paruhang
6 Replies
7. UNIX for Dummies Questions & Answers
$ rpm -ivh vsftpd-2.2.2-6.el6.i686.rpm
warning: vsftpd-2.2.2-6.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
why is it actually happening am goin nuts plzz help me out :( (1 Reply)
Discussion started by: lost101
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I installed debian jessie and friend asked me to install for him vsftpd, of course, first I try at my vps, but I don't get it to work.
there are many tutorials to install ftp server but as i said, it is not working and beside running ftp server, I need for him and some GUI to use it, he is... (2 Replies)
Discussion started by: alanford
2 Replies
9. UNIX for Dummies Questions & Answers
Hello
I am new to linux.
I have recently installed vsftpd in my Centos server. I have set the local_umask=0037.
But now i can't understand how the window users added in a centos server can see each-other folder.
---------- Post updated at 05:59 AM ---------- Previous update was at 05:55 AM... (7 Replies)
Discussion started by: Maham Zahid
7 Replies
10. UNIX for Advanced & Expert Users
:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl.
I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key.
I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies
LEARN ABOUT DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)