loldrup
January 2nd, 2011, 12:14 PM
Yesterday my friend's computer started to behave weird in relation to file writes:
When she want to write to an existing file using an application (we have tried meld, bzr extmerge and aptana studio) it didn't change the file on the harddrive... no warning was given. She tried with gedit once, and that worked, mysteriosly.
We wanted to examine the problem, so we tried changing directory to a folder witch she has read and write access to, but then we got a permission error:
julie@laptop:~/bachelorprojekt/repo/trunk/src/src$ ls -l
total 440
-rw-rw-rw- 1 julie julie 1784 2010-12-31 12:59 clock.pyc
-rw-rw-rw- 1 julie julie 3756 2010-12-31 15:09 dataTypes.py
-rw-rw-rw- 1 julie julie 4051 2010-12-31 15:21 dataTypes.pyc
drw-rw-rw- 2 julie julie 4096 2010-11-15 15:56 deprecated
-rw-rw-rw- 1 julie julie 1612 2010-12-31 12:55 dmCache.py
julie@laptop:~/bachelorprojekt/repo/trunk/src/src$ cd deprecated/
bash: cd: deprecated/: Permission denied
julie@laptop:~/bachelorprojekt/repo/trunk/src/src$ sudo su
root@laptop:/home/julie/bachelorprojekt/repo/trunk/src/src# cd deprecated/
root@laptop:/home/julie/bachelorprojekt/repo/trunk/src/src/deprecated#
this is very weird as she clearly has the rights to access the 'deprecated'-directory.
When she want to write to an existing file using an application (we have tried meld, bzr extmerge and aptana studio) it didn't change the file on the harddrive... no warning was given. She tried with gedit once, and that worked, mysteriosly.
We wanted to examine the problem, so we tried changing directory to a folder witch she has read and write access to, but then we got a permission error:
julie@laptop:~/bachelorprojekt/repo/trunk/src/src$ ls -l
total 440
-rw-rw-rw- 1 julie julie 1784 2010-12-31 12:59 clock.pyc
-rw-rw-rw- 1 julie julie 3756 2010-12-31 15:09 dataTypes.py
-rw-rw-rw- 1 julie julie 4051 2010-12-31 15:21 dataTypes.pyc
drw-rw-rw- 2 julie julie 4096 2010-11-15 15:56 deprecated
-rw-rw-rw- 1 julie julie 1612 2010-12-31 12:55 dmCache.py
julie@laptop:~/bachelorprojekt/repo/trunk/src/src$ cd deprecated/
bash: cd: deprecated/: Permission denied
julie@laptop:~/bachelorprojekt/repo/trunk/src/src$ sudo su
root@laptop:/home/julie/bachelorprojekt/repo/trunk/src/src# cd deprecated/
root@laptop:/home/julie/bachelorprojekt/repo/trunk/src/src/deprecated#
this is very weird as she clearly has the rights to access the 'deprecated'-directory.