Re: File Permissions problem : Cry for HELP



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

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



Relevant Pages

  • 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: File Permissions problem : Cry for HELP
    ... also about configuring the server i am uploading to, ... > i have a problem with file permissions, each new file i need to create i ... You need to change the umask used when you are saving web files. ... Depending on how you are uploading the files, ...
    (Fedora)
  • Re: OT : need help - server permissions issue
    ... Linux-based server, which I've done, and pretty much everything works ... server, it has permissions set at 600, and the owner are group are ... This is despite the fact that the upload folder has its ...
    (rec.autos.sport.f1)
  • Re: wrong permission / files get 640
    ... A web directory is chmod 755 but all files which I upload into it by ... means I have to manually change the permissions to 644. ... This looks like a umask problem. ...
    (freebsd-questions)
  • Re: Document library upload authentication problem
    ... Trusted) with its permissions and the other version is regarded as Internet ... but am not even using Project Server. ... >> cannot upload a document. ... >> owner and then ...
    (microsoft.public.sharepoint.windowsservices)