On Thu, 24 Aug 2017 20:23:33 +0000, Tom Kacvinsky wrote:
On Aug 24, 2017, at 16:17:48, Istvan Gabor <suseuser04@gmail.hu> wrote:
On Thu, 24 Aug 2017 16:09:36 -0400, Ken Schneider - openSUSE wrote:
On 08/24/2017 03:51 PM, Istvan Gabor wrote:
Hello: This occurs in openSUSE Leap 42.2. user@linux:~> cd tempdir user@linux:~/tempdir> ls -l total 3080 -rwxr-xr-x 1 user users 3147776 Dec 16 2016 image1.jpg user@linux:~/tempdir> rm image1.jpg rm: cannot remove 'image1.jpg': No such file or directory user@linux:~/tempdir> su Password: linux:/home/user/tempdir # rm image1.jpg rm: cannot remove 'image1.jpg': No such file or directory linux:/home/user/tempdir # I can open and copy the file but I cannot delete it. I can not delete the copied file either. linux:/home/user/tempdir # cp -a image1.jpg ../tempdir2 linux:/home/user/tempdir # ls -l ../tempdir2 total 3080 -rwxr-xr-x 1 user users 3147776 Dec 16 2016 image1.jpg linux:/home/user/tempdir # rm ../tempdir2/image1.jpg rm: cannot remove '../tempdir2/image1.jpg': No such file or directory The file system is ext3 on a raid1 array partition. I did a fsck -f on the partition which did not fix the problem (fsck did not report any error). How can I solve this? Thanks, Istvan
What are perms of the directory?
linux:/home/user/tempdir # ls -ld ../tempdir drwxr-xr-x 2 user users 4096 Aug 22 13:09 ../tempdir/
Could be for some reason the device on which this directory exists was mounted read-only.
No. It is mounted rw and I can delete other files. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org