Solved

How to set for default permissions for uploaded files

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

914 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