File permissions

Smoot Carl-Mitchell smoot at tic.com
Sun Feb 21 00:45:19 UTC 2010


On Sat, 2010-02-20 at 19:50 +0000, Tony Arnold wrote:
> Dick,
> 
> Dick Dowdell wrote:
> 
> > I'm not really a newbie, but I apparently understand less about Linux
> > file permissions than I thought.
> > 
> > I have a file with the following permissions  -rwxrw-r-x user1:groupa
> > 
> > When logged in as a user in "groupa", why can't I edit that file?
> 
> I think groupa needs write access to the directory the the file is in
> for you to be able to edit the file.

It may depend on the editor you are using.  With vim, I can edit a file
with group write permission in a directory I only have read permission
on.  gedit complains about not being able to create a backup file. What
error message are you getting and what editor are you using?


-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list