New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

FTP File Permissions


Post Reply New Thread Subscribe

 
Thread Tools
arai_speed

 
Member Since: Dec 08, 2006
Posts: 59
arai_speed is on a distinguished road
Mac Specs: MacBook Pro, OSX 10.4.8, 2.33 GHz Intel Core 2 Duo 2 GB 667 MHz DDR2 SDRAM

arai_speed is offline
Hi everyone, I'm new and a first time poster, hopefully someone can help me. At work we use a Mac to host our groups intranet. Currently people use FTP to upload new files to this machine which are then viewed through a web browser.

Everytime a new file is uploaded the default permissions are the following:

-rw-r-----

This makes the file unviewable via a web browser. I can manually change the permissions every time a new file is uploaded but I want to know if there is a way to set a new default permission set for uploaded files. Changing file permissions gets old after a while

I've search on the web but haven't found many solutions. Any help is appreciated.

Thanks.
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,589
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
You can try changing the umask for the user account that you are using to ftp too.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
cazabam

 
cazabam's Avatar
 
Member Since: Jun 06, 2006
Posts: 1,153
cazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of lightcazabam is a glorious beacon of light
Mac Specs: MacBook 2.0GHz White, 512MB RAM, 60GB HDD

cazabam is offline
A similar solution the other way around would be to add the user the Apache process is running as to the same group as the users.
QUOTE Thanks

Post Reply New Thread Subscribe


« GarageBand Question | MAC to PC - data transfer »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
file permissions? stevescivic OS X - Operating System 2 10-11-2006 11:45 PM
Not too pleased with new iMac JunMacTech Apple Desktops 14 12-05-2005 08:13 PM
repair permissions a waste of time? Macman Schweb's Lounge 5 05-31-2005 07:26 PM
Can you guys open this site? Desolate One OS X - Apps and Games 13 04-29-2005 02:23 PM
OS X.26 - FTP allows login, but then closes after cwd to folder funky Web Design and Hosting 2 01-28-2005 12:43 AM

All times are GMT -4. The time now is 09:18 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?