<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Yeah, I would be more comfortable with 644 than 664.  I just don't know what is determining the file permissions.<br><br>(I was tired when I wrote the last message, and the 1's should have been 4's.  Kind of embarrassing.)<br><br>> From: nils@breun.nl<br>> To: k12osn@redhat.com<br>> Subject: Re: [K12OSN] GUI editor file permissions<br>> Date: Tue, 22 Jan 2008 11:50:15 +0100<br>> <br>> jones yeates wrote:<br>> <br>> > I am getting my class to create php files and then view them through  <br>> > a browser.  Some of them are having problems viewing the file on my  <br>> > FC5 server.  They'll get permission denied, warning ... line 0...,  <br>> > or forbidden error messages.  I've been manually changing their file  <br>> > permissions to 755 and then the page works.<br>> ><br>> > I noticed that a student who had this problem:<br>> > - when a file was created using a GUI editor (Anjuta or Bluefish)  <br>> > the file permission was 611.  It received errors.<br>> > - when a file was created through vi, the file permission was 661.   <br>> > No errors opening the file in the browser.<br>> ><br>> > The umask of all users is 0002.  I believe that is fine since they  <br>> > are the only user in their group.<br>> ><br>> > 1.  What's going on?  I created the users through the same script  <br>> > and some are having file permission issues and others are not.<br>> ><br>> > 2.  Why aren't the default file permissions set to 775 if the umask  <br>> > is 0002?<br>> ><br>> > 3.  How can I get Anjuta or any other gui editor to set the default  <br>> > file permission to 755 or 661 or anything else?<br>> <br>> AFAIK those scripts don't need the executable bit set, so something  <br>> like 644 would be more appropriate. This is also the default mode when  <br>> I touch a file.<br>> <br>> Nils Breunese.<br>> <br>> _______________________________________________<br>> K12OSN mailing list<br>> K12OSN@redhat.com<br>> https://www.redhat.com/mailman/listinfo/k12osn<br>> For more info see <http://www.k12os.org><br><br /><hr /> <a href='' target='_new'></a></body>
</html>