Directory Permissions

Bob Elzer bob.elzer at gmail.com
Mon Dec 1 14:14:33 MST 2008


If you make the directory write for all, then anyone can upload files to it.

Hopefully you have some other way to prevent just anyone from doing uploads.


Otherwise anyone can store anything on your server.


-----Original Message-----
From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of Mike Hoy
Sent: Monday, December 01, 2008 1:47 PM
To: Main PLUG discussion list
Subject: Re: Directory Permissions

Thanks,

First I tried chmod 775, but turns out it still needed public write so I
gave it chmod 777 and it worked fine. Is it safe to have an image directory
for a website 777?



On Mon, Dec 1, 2008 at 1:31 PM, Stephen <cryptworks at gmail.com> wrote:
> you are on the right track, however i would do a man chmod just to get 
> a feel. you may need to add group permissions.
>
> On Mon, Dec 1, 2008 at 1:28 PM, Mike Hoy <mhoy06 at gmail.com> wrote:
>> I'm pretty new at Linux still and I am confused about directory 
>> permissions. I'm trying to upload products to our website here at 
>> work (Linux Server Cent OS). It says a certain directory lacks write 
>> permissions.
>>
>> I wanted to see what the permissions were on it so I did a ls -l, but 
>> that shows the contents of the directory (and it's huge, full of 
>> images).
>>
>> Then I want to give write access to that directory. Is it CHMOD that 
>> I need to use here?
>>
>> Any feedback appreciated. Gotta get these products uploaded and fast!
>>
>> --
>> Mike Hoy
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> A mouse trap, placed on top of your alarm clock, will prevent you from 
> rolling over and going back to sleep after you hit the snooze button.
>
> Stephen
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



--
Mike Hoy
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list