changing file permissions

Fred Roller froller at tnclimited.com
Wed Jun 17 12:17:12 UTC 2009


On Wed, 2009-06-17 at 11:46 +0100, norman wrote:
> 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?
> 
> Norman
> 
> 

"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


-- 
Fred R.
www.fwrgallery.com

"Life is like Linux, simple.  If you are fighting it, you are doing
something wrong."







More information about the ubuntu-users mailing list