Re: [1/2OT] how to delete ??? file
On Sunday 20,January,2013 04:33 AM, cr...@gtek.biz wrote: > On Saturday, January 19, 2013 10:33, "lina" said: > > Yes, in my home directory. The path is /home/lina/try > >>> -? ? ? ? ?? XX.tar >> >>> But it looks more to me as if this files are somehow >>> corrupted. Did you fsck this file-system lately ? > > Hi Lina > > Excuse me for replying to this message, I've managed to lose your first > post. This is most likely not a corrupt file system, but rather it is > probably the result of lack of execute permission on the directory. You > can recreate it thusly: > > $ cd /tmp > $ mkdir test > $ export looptest=0 > $ while [ $looptest -le 10 ] > do > touch test/test$looptest > loop=`expr $looptest + 1` > done > > $ ls -l test > total 0 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9 > > $ chmod 644 test > > $ ls -l test > ls: cannot access test/test3: Permission denied > ls: cannot access test/test1: Permission denied > ls: cannot access test/test5: Permission denied > ls: cannot access test/test10: Permission denied > ls: cannot access test/test6: Permission denied > ls: cannot access test/test8: Permission denied > ls: cannot access test/test9: Permission denied > ls: cannot access test/test2: Permission denied > ls: cannot access test/test0: Permission denied > ls: cannot access test/test4: Permission denied > ls: cannot access test/test7: Permission denied > total 0 > -? ? ? ? ?? test0 > -? ? ? ? ?? test1 > -? ? ? ? ?? test10 > -? ? ? ? ?? test2 > -? ? ? ? ?? test3 > -? ? ? ? ?? test4 > -? ? ? ? ?? test5 > -? ? ? ? ?? test6 > -? ? ? ? ?? test7 > -? ? ? ? ?? test8 > -? ? ? ? ?? test9 > > $ rm -f test/* > rm: cannot remove `test/test0': Permission denied > rm: cannot remove `test/test1': Permission denied > rm: cannot remove `test/test10': Permission denied > rm: cannot remove `test/test2': Permission denied > rm: cannot remove `test/test3': Permission denied > rm: cannot remove `test/test4': Permission denied > rm: cannot remove `test/test5': Permission denied > rm: cannot remove `test/test6': Permission denied > rm: cannot remove `test/test7': Permission denied > rm: cannot remove `test/test8': Permission denied > rm: cannot remove `test/test9': Permission denied > > $ chmod 755 test > > $ ls -l test > total 0 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8 > -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9 > > $ rm -f test/* > > $ ls -l test > total 0 > > This is a result of needing directory execute permission in order > to traverse the directory. Ha ... interesting. Indeed, thanks. > > > Sent - Gtek Web Mail > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50fb749f.8090...@gmail.com
Re: [1/2OT] how to delete ??? file
On Saturday, January 19, 2013 14:33, cr...@gtek.biz said: > On Saturday, January 19, 2013 10:33, "lina" said: > > Yes, in my home directory. The path is /home/lina/try > >>> -? ? ? ? ?? XX.tar >> >>> But it looks more to me as if this files are somehow >>> corrupted. Did you fsck this file-system lately ? > > Hi Lina > > Excuse me for replying to this message, I've managed to lose your first > post. This is most likely not a corrupt file system, but rather it is > probably the result of lack of execute permission on the directory. You > can recreate it thusly: > > $ cd /tmp > $ mkdir test > $ export looptest=0 > $ while [ $looptest -le 10 ] > do > touch test/test$looptest > loop=`expr $looptest + 1` > done *sigh* The above loop is an infinite loop. The line "loop=`expr $looptest + 1" should read "looptest=`expr $looptest + 1" I used "loop" as the variable name in my testing, and I copied that to my original reply, but after copying it I decided to change the name because looptest would be less likely to have been already defined. In trying to avoid confusion I succeeded in creating it. Just hasn't been my day. Apologies. Sent - Gtek Web Mail -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1358648476.84589...@webmail.gtek.biz
Re: [1/2OT] how to delete ??? file
On Saturday, January 19, 2013 10:33, "lina" said: Yes, in my home directory. The path is /home/lina/try >> -? ? ? ? ?? XX.tar > >> But it looks more to me as if this files are somehow >> corrupted. Did you fsck this file-system lately ? Hi Lina Excuse me for replying to this message, I've managed to lose your first post. This is most likely not a corrupt file system, but rather it is probably the result of lack of execute permission on the directory. You can recreate it thusly: $ cd /tmp $ mkdir test $ export looptest=0 $ while [ $looptest -le 10 ] do touch test/test$looptest loop=`expr $looptest + 1` done $ ls -l test total 0 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9 $ chmod 644 test $ ls -l test ls: cannot access test/test3: Permission denied ls: cannot access test/test1: Permission denied ls: cannot access test/test5: Permission denied ls: cannot access test/test10: Permission denied ls: cannot access test/test6: Permission denied ls: cannot access test/test8: Permission denied ls: cannot access test/test9: Permission denied ls: cannot access test/test2: Permission denied ls: cannot access test/test0: Permission denied ls: cannot access test/test4: Permission denied ls: cannot access test/test7: Permission denied total 0 -? ? ? ? ?? test0 -? ? ? ? ?? test1 -? ? ? ? ?? test10 -? ? ? ? ?? test2 -? ? ? ? ?? test3 -? ? ? ? ?? test4 -? ? ? ? ?? test5 -? ? ? ? ?? test6 -? ? ? ? ?? test7 -? ? ? ? ?? test8 -? ? ? ? ?? test9 $ rm -f test/* rm: cannot remove `test/test0': Permission denied rm: cannot remove `test/test1': Permission denied rm: cannot remove `test/test10': Permission denied rm: cannot remove `test/test2': Permission denied rm: cannot remove `test/test3': Permission denied rm: cannot remove `test/test4': Permission denied rm: cannot remove `test/test5': Permission denied rm: cannot remove `test/test6': Permission denied rm: cannot remove `test/test7': Permission denied rm: cannot remove `test/test8': Permission denied rm: cannot remove `test/test9': Permission denied $ chmod 755 test $ ls -l test total 0 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8 -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9 $ rm -f test/* $ ls -l test total 0 This is a result of needing directory execute permission in order to traverse the directory. Sent - Gtek Web Mail -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1358627597.802821...@webmail.gtek.biz
Re: [1/2OT] how to delete ??? file
## Transferring back to the list since i received this personally, and ## I am not the OP On 19/01/2013 19:12, pavicic wrote: Hi, -? ? ? ? ?? XX.tar I wonder how can I delete it? I've just come accross this. Didn't read the history. Thought the following might help. Such orphan files appeared on my cluster when the system failed to close the files that were generated by massive calculations. I succeeded in deleting them via mc (Midgnight Commander). In mc, I was also able to see some more details than on the command line. M. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50faf875.1080...@googlemail.com
Re: [1/2OT] how to delete ??? file
On 19/01/2013 17:33, lina wrote: On Sunday 20,January,2013 12:28 AM, tv.deb...@googlemail.com wrote: On 19/01/2013 14:31, Martin Steigerwald wrote: Hi Lina, Am Freitag, 18. Januar 2013 schrieb lina: > Where is that directory located? In your home directory? Yes, in my home directory. The path is /home/lina/try -? ? ? ? ?? XX.tar I imagine it could also be a subtile lack of access rights (SELinux possibly?), but usually I would suspect a message about it then. Yes, it has SELinux. Might be related, but I am not deeply enough into it. I wonder how can I delete it? Are you sure that it is a good idea to try to delete something were you at least partly have no access rights to and then as it appears don´t know how it happened to be there in the first place? If thats the monster box I´d contact your system administrator about it :). It's well maintained, at least far better than other boxes I met before. Just it might be my fault, long long time ago, I might chmod blindly at that time. Monster box was related to the hardware equipment, not the administration :) Also be careful on what possibly private information you disclose here to the public. As interested as I would be to have some access to such a box :) How? btw, please feel free to help me delete this directory if you access to it. what happens on chmod u+rwx /home/lina/try What does find /home/lina/try -ls say then? If -ls in find does not work try: find /home/lina/try -exec ls -ld {} \; Thanks, Hi, regarding SELinux attributes you can use the "-Z" ("--context") ls option to find out, and remount /home without ACL if necessary (or use "setfacl -b"). But it looks more to me as if this files are somehow corrupted. Did you fsck this file-system lately ? $ fsck -c fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) /dev/mapper/vg_mars-lv_root is mounted. WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage. Do you really want to continue (y/n)? no check aborted. $ fsck -n fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) Warning! /dev/mapper/vg_mars-lv_root is mounted. fsck.ext4: Permission denied while trying to open /dev/mapper/vg_mars-lv_root You must have r/o access to the filesystem or be root There are some other distracting message in dmesg, like: CIFS VFS: Send error in SessSetup = -13 Status code returned 0xc06a NT_STATUS_WRONG_PASSWORD CIFS VFS: Send error in SessSetup = -13 mdrun_mpi[945]: segfault at 1fe7360 ip 007df9b9 sp 7fffdf9ffef0 error 4 in mdrun_mpi[40+48] Thanks, Sorry, I wrongly assumed you were familiar with fsck, you can't check a mounted file-system. The error messages are normal, fsck won't proceed for very good reasons if the file-system is mounted. CIFS errors are just what it says: wrong password. Looks like someone tried to mount a samba share with wrong credentials. "mdrun_mpi" is some executable which is segfaulting. A corrupt file-system could generate such cascading errors, but they could also be unrelated. Anyway this system needs some serious attention from root ! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50fad322.5070...@googlemail.com
Re: [1/2OT] how to delete ??? file
On Sunday 20,January,2013 12:28 AM, tv.deb...@googlemail.com wrote: > On 19/01/2013 14:31, Martin Steigerwald wrote: >> Hi Lina, >> >> Am Freitag, 18. Januar 2013 schrieb lina: >>> > Where is that directory located? In your home directory? >>> >>> Yes, in my home directory. The path is /home/lina/try >>> > -? ? ? ? ?? XX.tar I imagine it could also be a subtile lack of access rights (SELinux possibly?), but usually I would suspect a message about it then. >>> >>> Yes, it has SELinux. >> >> Might be related, but I am not deeply enough into it. >> > I wonder how can I delete it? Are you sure that it is a good idea to try to delete something were you at least partly have no access rights to and then as it appears don´t know how it happened to be there in the first place? If thats the monster box I´d contact your system administrator about it :). >>> >>> It's well maintained, at least far better than other boxes I met before. >>> Just it might be my fault, long long time ago, I might chmod blindly at >>> that time. >> >> Monster box was related to the hardware equipment, not the >> administration :) >> Also be careful on what possibly private information you disclose here to the public. As interested as I would be to have some access to such a box :) >>> >>> How? btw, please feel free to help me delete this directory if you >>> access to it. >> >> what happens on >> >> chmod u+rwx /home/lina/try >> >> What does >> >> find /home/lina/try -ls >> >> say then? >> >> If -ls in find does not work try: >> >> find /home/lina/try -exec ls -ld {} \; >> >> Thanks, > > Hi, > > regarding SELinux attributes you can use the "-Z" ("--context") ls > option to find out, and remount /home without ACL if necessary (or use > "setfacl -b"). But it looks more to me as if this files are somehow > corrupted. Did you fsck this file-system lately ? > > $ fsck -c fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) /dev/mapper/vg_mars-lv_root is mounted. WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage. Do you really want to continue (y/n)? no check aborted. $ fsck -n fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) Warning! /dev/mapper/vg_mars-lv_root is mounted. fsck.ext4: Permission denied while trying to open /dev/mapper/vg_mars-lv_root You must have r/o access to the filesystem or be root There are some other distracting message in dmesg, like: CIFS VFS: Send error in SessSetup = -13 Status code returned 0xc06a NT_STATUS_WRONG_PASSWORD CIFS VFS: Send error in SessSetup = -13 mdrun_mpi[945]: segfault at 1fe7360 ip 007df9b9 sp 7fffdf9ffef0 error 4 in mdrun_mpi[40+48] Thanks, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50facaf2.2010...@gmail.com
Re: [1/2OT] how to delete ??? file
On 19/01/2013 14:31, Martin Steigerwald wrote: Hi Lina, Am Freitag, 18. Januar 2013 schrieb lina: > Where is that directory located? In your home directory? Yes, in my home directory. The path is /home/lina/try -? ? ? ? ?? XX.tar I imagine it could also be a subtile lack of access rights (SELinux possibly?), but usually I would suspect a message about it then. Yes, it has SELinux. Might be related, but I am not deeply enough into it. I wonder how can I delete it? Are you sure that it is a good idea to try to delete something were you at least partly have no access rights to and then as it appears don´t know how it happened to be there in the first place? If thats the monster box I´d contact your system administrator about it :). It's well maintained, at least far better than other boxes I met before. Just it might be my fault, long long time ago, I might chmod blindly at that time. Monster box was related to the hardware equipment, not the administration :) Also be careful on what possibly private information you disclose here to the public. As interested as I would be to have some access to such a box :) How? btw, please feel free to help me delete this directory if you access to it. what happens on chmod u+rwx /home/lina/try What does find /home/lina/try -ls say then? If -ls in find does not work try: find /home/lina/try -exec ls -ld {} \; Thanks, Hi, regarding SELinux attributes you can use the "-Z" ("--context") ls option to find out, and remount /home without ACL if necessary (or use "setfacl -b"). But it looks more to me as if this files are somehow corrupted. Did you fsck this file-system lately ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50fac9bc.1090...@googlemail.com
Re: [1/2OT] how to delete ??? file
Hi Lina, Am Freitag, 18. Januar 2013 schrieb lina: > > Where is that directory located? In your home directory? > > Yes, in my home directory. The path is /home/lina/try > > >> -? ? ? ? ?? XX.tar > > > > I imagine it could also be a subtile lack of access rights (SELinux > > possibly?), but usually I would suspect a message about it then. > > Yes, it has SELinux. Might be related, but I am not deeply enough into it. > >> I wonder how can I delete it? > > > > Are you sure that it is a good idea to try to delete something were you > > at least partly have no access rights to and then as it appears don´t > > know how it happened to be there in the first place? > > > > If thats the monster box I´d contact your system administrator about it > > :). > > It's well maintained, at least far better than other boxes I met before. > Just it might be my fault, long long time ago, I might chmod blindly at > that time. Monster box was related to the hardware equipment, not the administration :) > > Also be careful on what possibly private information you disclose here > > to the public. As interested as I would be to have some access to such > > a box :) > > How? btw, please feel free to help me delete this directory if you > access to it. what happens on chmod u+rwx /home/lina/try What does find /home/lina/try -ls say then? If -ls in find does not work try: find /home/lina/try -exec ls -ld {} \; Thanks, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201301191431.02704.mar...@lichtvoll.de
RE: [1/2OT] how to delete ??? file
> On Fri, Jan 18, 2013 at 08:48:10PM +0800, lina wrote: > > > > It's well maintained, at least far better than other boxes I met before. > > Just it might be my fault, long long time ago, I might chmod blindly at > > that time. > > I thought of chmod, so why not just try chmod/chown back? You might > still get "permission denied" though. Directories must be marked executable to be used properly. Even root has to deal with that. My guess is that a corrupted filesystem combined with a directory not set with the +x flag is the problem. Succeeding at deleting the directory may not have completely solved the problem. I think it needs an fsck. The difficulty is that on big iron, dismounting a fs may be difficult, and rebooting impossible. Tell your sysadmin and let them make the decision. They probably ought to know. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/006001cdf60b$1b11d8c0$51358a40$@allums.com
Re: [1/2OT] how to delete ??? file
On Fri, Jan 18, 2013 at 08:48:10PM +0800, lina wrote: > > It's well maintained, at least far better than other boxes I met before. > Just it might be my fault, long long time ago, I might chmod blindly at > that time. I thought of chmod, so why not just try chmod/chown back? You might still get "permission denied" though. -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130119024702.GA9853@tal
Re: [1/2OT] how to delete ??? file
On 1/18/2013 6:37 AM, lina wrote: > It is my /home/lina/try directory. > > Honest speaking, I even didn't know when it showed up. And for those > files inside, it looks so strange for me. might some Fortran code? or > something. > > $ cd try/ > -bash: cd: try/: Permission denied > > I don't feel so comfortable to disturb the root, so second thought, I > will keep this directory since I can't delete. > > Any further suggestions are still highly appreciated. Lina, read the introduction documentation you were given or pointed to when you received your account. Read the MOTD when you login each day. Read your mail on the system. There should be no 'surprises' in an HPC environment. There should be ample documentation available to you. Most HPC sites have a website with user resource information covering all these things. Note: using this box has very little in common with your Linux laptop once you get under the hood. -- Stan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50f9dd64.9070...@hardwarefreak.com
Re: [1/2OT] how to delete ??? file
By accident I deleted it. The process is like this: 1] $ ls -lrt try/ ls: cannot access try/STEPS: Permission denied -? ? ? ? ?? XX.tar 2] $ ls -lrt total 3640 drw-rw-r--. 2 lina lina4096 Oct 13 23:31 try 3] $ rm -rf try/ rm: cannot remove `try/STEPS': Permission denied 4] chmod +x try 5] rm -r try/ It works. Thanks, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50f9513b.6080...@gmail.com
Re: [1/2OT] how to delete ??? file
On Friday 18 Jan 2013, lina wrote: > On Friday 18,January,2013 08:26 PM, Martin Steigerwald wrote: > > Am Freitag, 18. Januar 2013 schrieb Doug: > >> On 01/18/2013 12:29 AM, lina wrote: > >>> Hi, > >>> > >>> I don't know from where jump out a directory with following info. > >>> > >>> $ ls -lrt try/ > >>> ls: cannot access try/STEPS: Permission denied > >>> ls: cannot access try/test_xtc2pdb.f: Permission denied > >>> ls: cannot access try/18059-18059.xtc: Permission denied > >>> ls: cannot access try/read_xtc_main.f: Permission denied > >>> ls: cannot access try/PARA: Permission denied > >>> ls: cannot access try/fort.21: Permission denied > >>> ls: cannot access try/CA-ch1.ndx: Permission denied > >>> ls: cannot access try/CA.ndx: Permission denied > >>> ls: cannot access try/Makefile: Permission denied > >>> -? ? ? ? ?? XX.tar > >>> -? ? ? ? ?? try.pdb > >>> -? ? ? ? ?? try-c.pdb > >>> -? ? ? ? ?? test_xtc2pdb.f > >>> -? ? ? ? ?? SUB_UTILITY.o > >>> -? ? ? ? ?? SUB_UTILITY.f > > > > […] > > > >>> I wonder how can I delete it? > >> > >> What happens if you do rm -rf /try from root? > >> (I/m not all that familiar with Deb, but you must > >> have some way to get admin permission, if you > >> are the owner of the install. su or perhaps sudo.) > > > > Careful: > > > > 1) From the above output it it not certain the the directory is in /. > > It is my /home/lina/try directory. > > Honest speaking, I even didn't know when it showed up. And for those > files inside, it looks so strange for me. might some Fortran code? or > something. > > $ cd try/ > -bash: cd: try/: Permission denied > > I don't feel so comfortable to disturb the root, so second thought, I > will keep this directory since I can't delete. > > Any further suggestions are still highly appreciated. > > Best regards, > > > 2) And no its not cool to insert -rf into rm by default. Modern linux > > filesystems on modern storage can delete several thousands files a > > second! So if you just wanted to delete a file and you added rm -rf, > > just cause you think you are Linux ubergeek, and then by mistake you > > gave rm a directory… well farewell to your data. > > > > > > So first think, then only if really necessary use rm -rf or kill -9. > > > > Ciao, You could try using lsattr. For almost all normal files/dirs all the attr listed should be "-". There may be a few directories with the I attr (which means it is an indexed directory) so don't worry about those. David
Re: [1/2OT] how to delete ??? file
On Fri, Jan 18, 2013 at 01:29:35PM +0800, lina wrote: > -? ? ? ? ?? XX.tar > -? ? ? ? ?? try.pdb > -? ? ? ? ?? try-c.pdb > -? ? ? ? ?? test_xtc2pdb.f > -? ? ? ? ?? SUB_UTILITY.o > -? ? ? ? ?? SUB_UTILITY.f ... > > I wonder how can I delete it? I'd say your filesystem is corrupted more than anything. It's not rm you want. It's fsck. -- "A search of his car uncovered pornography, a homemade sex aid, women's stockings and a Jack Russell terrier." - http://www.dailytelegraph.com.au/news/wacky/indeed/story-e6frev20-118083480 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130118125012.gb7...@zip.com.au
Re: [1/2OT] how to delete ??? file
> Where is that directory located? In your home directory? Yes, in my home directory. The path is /home/lina/try >> -? ? ? ? ?? XX.tar > > I imagine it could also be a subtile lack of access rights (SELinux > possibly?), but usually I would suspect a message about it then. Yes, it has SELinux. > >> I wonder how can I delete it? > > Are you sure that it is a good idea to try to delete something were you at > least partly have no access rights to and then as it appears don´t know how > it happened to be there in the first place? > > If thats the monster box I´d contact your system administrator about it :). It's well maintained, at least far better than other boxes I met before. Just it might be my fault, long long time ago, I might chmod blindly at that time. > > Also be careful on what possibly private information you disclose here to > the public. As interested as I would be to have some access to such a box :) How? btw, please feel free to help me delete this directory if you access to it. > > Ciao, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50f9448a.3000...@gmail.com
Re: [1/2OT] how to delete ??? file
On Fri, 18 Jan 2013 13:26:56 +0100, Martin Steigerwald wrote: Am Freitag, 18. Januar 2013 schrieb Doug: On 01/18/2013 12:29 AM, lina wrote: > Hi, > > I don't know from where jump out a directory with following info. > > $ ls -lrt try/ > ls: cannot access try/STEPS: Permission denied > ls: cannot access try/test_xtc2pdb.f: Permission denied > ls: cannot access try/18059-18059.xtc: Permission denied > ls: cannot access try/read_xtc_main.f: Permission denied > ls: cannot access try/PARA: Permission denied > ls: cannot access try/fort.21: Permission denied > ls: cannot access try/CA-ch1.ndx: Permission denied > ls: cannot access try/CA.ndx: Permission denied > ls: cannot access try/Makefile: Permission denied > -? ? ? ? ?? XX.tar > -? ? ? ? ?? try.pdb > -? ? ? ? ?? try-c.pdb > -? ? ? ? ?? test_xtc2pdb.f > -? ? ? ? ?? SUB_UTILITY.o > -? ? ? ? ?? SUB_UTILITY.f […] > I wonder how can I delete it? What happens if you do rm -rf /try from root? (I/m not all that familiar with Deb, but you must have some way to get admin permission, if you are the owner of the install. su or perhaps sudo.) Careful: 1) From the above output it it not certain the the directory is in /. 2) And no its not cool to insert -rf into rm by default. Modern linux filesystems on modern storage can delete several thousands files a second! So if you just wanted to delete a file and you added rm -rf, just cause you think you are Linux ubergeek, and then by mistake you gave rm a directory… well farewell to your data. So first think, then only if really necessary use rm -rf or kill -9. Ciao, "$" vs "#". The user isn't root. The position of the "/" seems to be a typo. The OP now is warned to be careful and to verify information, before doing what's recommended. -- FreeBSD 9.1-RELEASE amd64 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/op.wq3xm2ymqhadp0@freebsd
Re: [1/2OT] how to delete ??? file
On Friday 18,January,2013 08:26 PM, Martin Steigerwald wrote: > Am Freitag, 18. Januar 2013 schrieb Doug: >> On 01/18/2013 12:29 AM, lina wrote: >>> Hi, >>> >>> I don't know from where jump out a directory with following info. >>> >>> $ ls -lrt try/ >>> ls: cannot access try/STEPS: Permission denied >>> ls: cannot access try/test_xtc2pdb.f: Permission denied >>> ls: cannot access try/18059-18059.xtc: Permission denied >>> ls: cannot access try/read_xtc_main.f: Permission denied >>> ls: cannot access try/PARA: Permission denied >>> ls: cannot access try/fort.21: Permission denied >>> ls: cannot access try/CA-ch1.ndx: Permission denied >>> ls: cannot access try/CA.ndx: Permission denied >>> ls: cannot access try/Makefile: Permission denied >>> -? ? ? ? ?? XX.tar >>> -? ? ? ? ?? try.pdb >>> -? ? ? ? ?? try-c.pdb >>> -? ? ? ? ?? test_xtc2pdb.f >>> -? ? ? ? ?? SUB_UTILITY.o >>> -? ? ? ? ?? SUB_UTILITY.f > […] >>> I wonder how can I delete it? > >> What happens if you do rm -rf /try from root? >> (I/m not all that familiar with Deb, but you must >> have some way to get admin permission, if you >> are the owner of the install. su or perhaps sudo.) > > Careful: > > 1) From the above output it it not certain the the directory is in /. It is my /home/lina/try directory. Honest speaking, I even didn't know when it showed up. And for those files inside, it looks so strange for me. might some Fortran code? or something. $ cd try/ -bash: cd: try/: Permission denied I don't feel so comfortable to disturb the root, so second thought, I will keep this directory since I can't delete. Any further suggestions are still highly appreciated. Best regards, > > 2) And no its not cool to insert -rf into rm by default. Modern linux > filesystems on modern storage can delete several thousands files a second! So > if you just wanted to delete a file and you added rm -rf, just cause you > think you are Linux ubergeek, and then by mistake you gave rm a directory… > well farewell to your data. > > > So first think, then only if really necessary use rm -rf or kill -9. > > Ciao, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50f94205.7020...@gmail.com
Re: [1/2OT] how to delete ??? file
Am Freitag, 18. Januar 2013 schrieb lina: > Hi, Hi Lina, > I don't know from where jump out a directory with following info. > > $ ls -lrt try/ Where is that directory located? In your home directory? > ls: cannot access try/STEPS: Permission denied > ls: cannot access try/test_xtc2pdb.f: Permission denied > ls: cannot access try/18059-18059.xtc: Permission denied > > ls: cannot access try/read_xtc_main.f: Permission denied > ls: cannot access try/PARA: Permission denied > ls: cannot access try/fort.21: Permission denied > ls: cannot access try/CA-ch1.ndx: Permission denied > ls: cannot access try/CA.ndx: Permission denied > ls: cannot access try/Makefile: Permission denied Well that tells you that as the user you are you may not access the file. It might be that you still have write access to it. > -? ? ? ? ?? XX.tar > -? ? ? ? ?? try.pdb > -? ? ? ? ?? try-c.pdb > -? ? ? ? ?? test_xtc2pdb.f That may (!) be a sign of filesystem corruption. I imagine it could also be a subtile lack of access rights (SELinux possibly?), but usually I would suspect a message about it then. > I wonder how can I delete it? Are you sure that it is a good idea to try to delete something were you at least partly have no access rights to and then as it appears don´t know how it happened to be there in the first place? If thats the monster box I´d contact your system administrator about it :). Also be careful on what possibly private information you disclose here to the public. As interested as I would be to have some access to such a box :) Ciao, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201301181332.56311.mar...@lichtvoll.de
Re: [1/2OT] how to delete ??? file
Am Freitag, 18. Januar 2013 schrieb Doug: > On 01/18/2013 12:29 AM, lina wrote: > > Hi, > > > > I don't know from where jump out a directory with following info. > > > > $ ls -lrt try/ > > ls: cannot access try/STEPS: Permission denied > > ls: cannot access try/test_xtc2pdb.f: Permission denied > > ls: cannot access try/18059-18059.xtc: Permission denied > > ls: cannot access try/read_xtc_main.f: Permission denied > > ls: cannot access try/PARA: Permission denied > > ls: cannot access try/fort.21: Permission denied > > ls: cannot access try/CA-ch1.ndx: Permission denied > > ls: cannot access try/CA.ndx: Permission denied > > ls: cannot access try/Makefile: Permission denied > > -? ? ? ? ?? XX.tar > > -? ? ? ? ?? try.pdb > > -? ? ? ? ?? try-c.pdb > > -? ? ? ? ?? test_xtc2pdb.f > > -? ? ? ? ?? SUB_UTILITY.o > > -? ? ? ? ?? SUB_UTILITY.f […] > > I wonder how can I delete it? > What happens if you do rm -rf /try from root? > (I/m not all that familiar with Deb, but you must > have some way to get admin permission, if you > are the owner of the install. su or perhaps sudo.) Careful: 1) From the above output it it not certain the the directory is in /. 2) And no its not cool to insert -rf into rm by default. Modern linux filesystems on modern storage can delete several thousands files a second! So if you just wanted to delete a file and you added rm -rf, just cause you think you are Linux ubergeek, and then by mistake you gave rm a directory… well farewell to your data. So first think, then only if really necessary use rm -rf or kill -9. Ciao, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201301181326.57143.mar...@lichtvoll.de
Re: [1/2OT] how to delete ??? file
On 1/17/2013 11:57 PM, Doug wrote: > What happens if you do rm -rf /try from root? > (I/m not all that familiar with Deb, but you must > have some way to get admin permission, if you > are the owner of the install. su or perhaps sudo.) If this pertains to the 8-way box, it's not running Debian, but RHEL (though that shouldn't make any difference WTF the above). And the way things appear, it seems likely she'll never have root access to this box. -- Stan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50f8fb59.2040...@hardwarefreak.com
Re: [1/2OT] how to delete ??? file
On Friday 18,January,2013 01:57 PM, Doug wrote: > On 01/18/2013 12:29 AM, lina wrote: >> Hi, >> >> I don't know from where jump out a directory with following info. >> >> $ ls -lrt try/ >> ls: cannot access try/STEPS: Permission denied >> ls: cannot access try/test_xtc2pdb.f: Permission denied >> ls: cannot access try/18059-18059.xtc: Permission denied >> ls: cannot access try/read_xtc_main.f: Permission denied >> ls: cannot access try/PARA: Permission denied >> ls: cannot access try/fort.21: Permission denied >> ls: cannot access try/CA-ch1.ndx: Permission denied >> ls: cannot access try/CA.ndx: Permission denied >> ls: cannot access try/Makefile: Permission denied >> -? ? ? ? ?? XX.tar >> -? ? ? ? ?? try.pdb >> -? ? ? ? ?? try-c.pdb >> -? ? ? ? ?? test_xtc2pdb.f >> -? ? ? ? ?? SUB_UTILITY.o >> -? ? ? ? ?? SUB_UTILITY.f >> -? ? ? ? ?? SUB_READ.o >> -? ? ? ? ?? SUB_READ.f >> -? ? ? ? ?? STEPS >> -? ? ? ? ?? rs.o >> -? ? ? ? ?? rs.f >> -? ? ? ? ?? read_xtc_main.o >> -? ? ? ? ?? read_xtc_main.f >> -? ? ? ? ?? READ_IND.f >> -? ? ? ? ?? PARA >> -? ? ? ? ?? Makefile >> -? ? ? ? ?? libxdrf.a >> -? ? ? ? ?? index.ndx >> -? ? ? ? ?? fort.21 >> -? ? ? ? ?? fort.20 >> >> I wonder how can I delete it? >> >> Thanks with best regards, >> >> > What happens if you do rm -rf /try from root? > (I/m not all that familiar with Deb, but you must > have some way to get admin permission, if you > are the owner of the install. su or perhaps sudo.) Thanks, perhaps I will ask root to remove it, I don't have the privileges. > > --doug > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50f8e985.2070...@gmail.com
Re: [1/2OT] how to delete ??? file
On 01/18/2013 12:29 AM, lina wrote: Hi, I don't know from where jump out a directory with following info. $ ls -lrt try/ ls: cannot access try/STEPS: Permission denied ls: cannot access try/test_xtc2pdb.f: Permission denied ls: cannot access try/18059-18059.xtc: Permission denied ls: cannot access try/read_xtc_main.f: Permission denied ls: cannot access try/PARA: Permission denied ls: cannot access try/fort.21: Permission denied ls: cannot access try/CA-ch1.ndx: Permission denied ls: cannot access try/CA.ndx: Permission denied ls: cannot access try/Makefile: Permission denied -? ? ? ? ?? XX.tar -? ? ? ? ?? try.pdb -? ? ? ? ?? try-c.pdb -? ? ? ? ?? test_xtc2pdb.f -? ? ? ? ?? SUB_UTILITY.o -? ? ? ? ?? SUB_UTILITY.f -? ? ? ? ?? SUB_READ.o -? ? ? ? ?? SUB_READ.f -? ? ? ? ?? STEPS -? ? ? ? ?? rs.o -? ? ? ? ?? rs.f -? ? ? ? ?? read_xtc_main.o -? ? ? ? ?? read_xtc_main.f -? ? ? ? ?? READ_IND.f -? ? ? ? ?? PARA -? ? ? ? ?? Makefile -? ? ? ? ?? libxdrf.a -? ? ? ? ?? index.ndx -? ? ? ? ?? fort.21 -? ? ? ? ?? fort.20 I wonder how can I delete it? Thanks with best regards, What happens if you do rm -rf /try from root? (I/m not all that familiar with Deb, but you must have some way to get admin permission, if you are the owner of the install. su or perhaps sudo.) --doug -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50f8e449.3080...@optonline.net
[1/2OT] how to delete ??? file
Hi, I don't know from where jump out a directory with following info. $ ls -lrt try/ ls: cannot access try/STEPS: Permission denied ls: cannot access try/test_xtc2pdb.f: Permission denied ls: cannot access try/18059-18059.xtc: Permission denied ls: cannot access try/read_xtc_main.f: Permission denied ls: cannot access try/PARA: Permission denied ls: cannot access try/fort.21: Permission denied ls: cannot access try/CA-ch1.ndx: Permission denied ls: cannot access try/CA.ndx: Permission denied ls: cannot access try/Makefile: Permission denied -? ? ? ? ?? XX.tar -? ? ? ? ?? try.pdb -? ? ? ? ?? try-c.pdb -? ? ? ? ?? test_xtc2pdb.f -? ? ? ? ?? SUB_UTILITY.o -? ? ? ? ?? SUB_UTILITY.f -? ? ? ? ?? SUB_READ.o -? ? ? ? ?? SUB_READ.f -? ? ? ? ?? STEPS -? ? ? ? ?? rs.o -? ? ? ? ?? rs.f -? ? ? ? ?? read_xtc_main.o -? ? ? ? ?? read_xtc_main.f -? ? ? ? ?? READ_IND.f -? ? ? ? ?? PARA -? ? ? ? ?? Makefile -? ? ? ? ?? libxdrf.a -? ? ? ? ?? index.ndx -? ? ? ? ?? fort.21 -? ? ? ? ?? fort.20 I wonder how can I delete it? Thanks with best regards, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50f8ddbf.5070...@gmail.com