Re: File Permissions problem : Cry for HELP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/23/06, Me2resh Lists <me2resh.lists@xxxxxxxxx> wrote:
thanks for your help,
i have searched for a simple tutorial or a way to use umask but i didnt find
can u tell me a simple way yo make the default mask for a user 022 ?

add "umask 0022" to ~/.bashrc


also about configuring the server i am uploading to, i dont think that there
is something wrnog with the server cause when i upload the same files from
windows, it works with no problems

thanks in advance
anymore help ??



On 5/23/06, Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx > wrote:
> Me2resh Lists wrote:
> > Hi all,
> > i am a web developer and i use fedora core 5,
> > i have a problem with file permissions, each new file i need to create i
> > have to set the permissions for it manually so it can be executed, how
> > can i make the default permission for created files 775 automatically,
> > the other thing is after i have all my application working successfully
> > on my localserver, when i upload it to the internet, it gets the wrong
> > permissions and i have to set the permissions for each file and folder
> > all over again, imagine how this can be painfull when the application
> > has more than 1000 files
> > can anyone help me plz with that.
> > any help would be appreciated
> > thanks in advance
> >
> > Note : Here is the error message i get when the permissions is wrong
> >
> >
> >   Internal Server Error
> >
> > The server encountered an internal error or misconfiguration and was
> > unable to complete your request.
> >
> > Please contact the server administrator, webmaster@xxxxxxxxxxxxxxxx
> > <mailto:webmaster@xxxxxxxxxxxxxxxx > and inform them of the time the
> > error occurred, and anything you might have done that may have caused
> > the error.
> >
> > More information about this error may be available in the server error
log.
> >
> > Additionally, a 404 Not Found error was encountered while trying to use
> > an ErrorDocument to handle the request.
> >
> >
> You need to change the umask used when you are saving web files.
> (umask is a built-in bash function, so it is described in the bash
> man page.) Depending on how you are uploading the files, you may
> have to change the settings on the server you are uploading as well.
>
> You also need to fix your default 404 error page...
>
> Mikkel
> --
>
>   Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list
>


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list




--
Trond Danielsen


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux