Solved

How to set for default permissions for uploaded files

Posted on 2006-11-29
3
246 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.
Suggested Courses

628 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