LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-08-2004, 05:24 PM   #1
ronkymac
Member
 
Registered: Nov 2004
Location: Edinburgh, Scotland, UK.
Distribution: Debian
Posts: 72

Rep: Reputation: 15
How Do I...? vsFTP uploading


Hello everyone,

I'm running vsFTP at the moment, and I am having one problem.

When I upload to the server, using SmartFTP for example, everything is uploaded as chmod 600. This means that when I'm uploading huge directories I have to go through each directory, changing individual file chmods to 755.
This can be a very tedious process.

Is there any way of making vsFTP accept the files and post them up on the server as chmod 755?

Cheers,
Ronaldm.
 
Old 12-08-2004, 05:35 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Yes offcourse. Use the /etc/vsftpd/vsftpd.conf and see the line stating local_umask=022

See if this line is commented with the # character in front of it. Uncomment it. And change the numbers according to what you want. Keep in mind that umasks are defined as octal numbers. I.e. 022 = 755 and 177 = 600. Just substract the umask from 777 to get the permissions you want
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading Files lmanwarren Linux - Software 1 03-21-2005 09:48 AM
uploading a website anubhuti_k Linux - Networking 3 02-04-2005 04:10 PM
uploading with 1K Xmodem jonij Linux - Newbie 4 01-18-2005 01:28 PM
VSFTP - problems uploading directories full of content animehair Linux - Software 1 01-03-2005 09:34 AM
FTP uploading... Thymox Linux - Networking 4 02-05-2002 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration