Re: File Permissions problem : Cry for HELP



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 ?

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

Relevant Pages

  • Re: File Permissions problem : Cry for HELP
    ... is something wrnog with the server cause when i upload the same files from ... >> i have a problem with file permissions, each new file i need to create i ... >> Internal Server Error ... > You need to change the umask used when you are saving web files. ...
    (Fedora)
  • Re: File Permissions problem : Cry for HELP
    ... Me2resh Lists wrote: ... 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 ... You need to change the umask used when you are saving web files. ... Depending on how you are uploading the files, ...
    (Fedora)
  • Re: [patch 12/13] ACL umask handling workaround in nfs client
    ... >> the umask locally, and sends the effective permissions to the server. ... >> only the default ACL determines the file's effective permissions. ...
    (Linux-Kernel)
  • Re: SSH question
    ... > to his home directory on another server, ... The shell on the remote system is not a login shell, ... so no user-specific umask is set. ... permissions from the original file. ...
    (comp.unix.solaris)
  • Re: File Upload component and server extensions
    ... I've tried uploading a small image file on Live and get exactly the ... same error - Cannot open file for writing. ... Now I've upgraded to FP2002 server extensions on my local server I've ... I'm guessing that it's going to be some kind of permissions error, ...
    (microsoft.public.frontpage.client)