Take the 2-minute tour ×  I have run into a ton of file
permission issues in Ubuntu, from not having permission to
delete a file, change the contents of a while, and so on. I was
wondering if some of you Ubuntu experts could share how you
generally deal with file permission issues? What are some
general guidelines and terminal commands to keep in mind?
Thanks in advance.  share|improve this question add comment  2
Answers  up vote 2 down vote accepted  Every file on your system
is owned by a user. Each user is a member of one or more groups.
Using the chmod command a user can selectively allow self or
others to read, write, or execute the file. Use of chmod is
fairly complex, and you'll want to check out man chmod before
proceeding, or perhaps http://en.wikipedia.org/wiki/Chmod .
Every file that I expect to need to edit is in my Home
directory, and belongs to me. The only exception is the case of
configuration files for system-wide things like Xorg or Samba.
In general, new users probably shouldn't be editi