Cant remove/delete symlink
Posted
by
user477519
on Super User
See other posts from Super User
or by user477519
Published on 2012-11-12T13:21:37Z
Indexed on
2012/11/27
17:07 UTC
Read the original article
Hit count: 211
I have tried to create a symlink and it threw this error:
ln: accessing `.test': Permission denied
Now I can't unlink or delete the symlink file.
Tried Googling for help but could not find a solution.
Please find the results of following commands.
stat .test :
File: `.test'stat: cannot read symbolic link `.test': Permission denied
Size: 26 Blocks: 0 IO Block: 16384 symbolic link
Device: 1fh/31d Inode: 312075453 Links: 1
Access: (0777/lrwxrwxrwx) Uid: (11160/ chatt) Gid: (11307/ pgr)
Access: 2012-11-12 11:36:51.167327500 +0000
Modify: 2012-11-12 11:36:51.163331700 +0000
Change: 2012-11-12 11:36:51.163331700 +0000
Birth: -
chattr -i .test:
chattr: Permission denied while trying to stat .test
lsatter .test
lsattr: Operation not supported While reading flags on .test
Any help would be appreciated.
Thanks
© Super User or respective owner