Solved

How to set for default permissions for uploaded files

Posted on 2006-11-29
3
241 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

785 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