Solved

How to set for default permissions for uploaded files

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

856 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