Solved

How to set for default permissions for uploaded files

Posted on 2006-11-29
3
239 Views
Last Modified: 2013-12-16
I have a Linux Apache server box on my LAN.  When I ftp files to my public_html directory from an XP box on the LAN, I usually have to go to the Linux box and set the read permissions of the newly uploaded files manually.  How can I configure either the XP or the Linux box to accept the incoming uploads as readable by others?  They are all arriving as forbidden by default.  Thanks for your help.
0
Comment
Question by:Bloodrule
  • 2
3 Comments
 
LVL 4

Assisted Solution

by:wbstech
wbstech earned 200 total points
ID: 18035727
Providing the permissions are set to readable on the public_html directory, I believe it is down to your FTP client software to decide the default upload permissions.

You may want to browse your FTP client settings and see if these are specified anywhere. Or let us know what FTP client you're using.
0
 
LVL 10

Expert Comment

by:ssvl
ID: 18035779
What is you ftp service is it vsftpd??
0
 
LVL 10

Accepted Solution

by:
ssvl earned 300 total points
ID: 18036086
there is a option in vsftpd to change the upload mask

local_umask=022

change that and you can have a 002 or something equal to that to have read permissions for everyone.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now