changing file permissions

norman norman at littletank.org
Wed Jun 17 14:11:38 UTC 2009


> > This may seem a very elementary question but it has me puzzled. I made
> > some changes to a file using sudo gedit and saved the file. Because the
> > action I was hoping for did not happen I looked at the file's
> > permissions and found that in the execute box there was '-'. I read up
> > on how to change permissions and did sudo chmod u+x filename 'enter' but
> > the '-' did not change. What do I need to do to get a tick in the box,
> > please?
> > 

> 
> "The only dumb question is the one not asked."  
> 
> Change your command to 
> sudo chmod +x filename
> 
> or
> sudo chmod 755 file name
> 
> The second making the file permission look like
> rwxr-xr-x filename

 Thank you problem solved.

Norman





More information about the ubuntu-users mailing list