LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-16-2005, 02:59 PM   #1
Daenris
LQ Newbie
 
Registered: Mar 2005
Location: Chicago
Distribution: FC3
Posts: 9

Rep: Reputation: 0
non-existant file still shows up


Hey, just a quick question, hopefully... I have a file on a CIFS shared drive that is showing up, but if I try to rm or mv it or anything else it says it doesn't exist. I can't copy over it with something else either. It's not a permissions problem, because I've tried as root as well with the same results.

Wondering if anyone else has has this problem and/or knows how to fix it.
 
Old 03-16-2005, 03:09 PM   #2
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Does the filename contain evil characters? You could use a wild card after the first few characters, or use autocompletion to finish the name. If you use wildcards, use the ls command first to make sure that other files wouldn't be deleted also. Since this is a shared partition, you could have permission problems if you aren't the root on that machine, but if it was a permission problem, the error would indicate that.

Could you try deleting it in a graphical file manager instead?
 
Old 03-16-2005, 03:26 PM   #3
Daenris
LQ Newbie
 
Registered: Mar 2005
Location: Chicago
Distribution: FC3
Posts: 9

Original Poster
Rep: Reputation: 0
Does the filename contain evil characters? You could use a wild card after the first few characters, or use autocompletion to finish the name. If you use wildcards, use the ls command first to make sure that other files wouldn't be deleted also. Since this is a shared partition, you could have permission problems if you aren't the root on that machine, but if it was a permission problem, the error would indicate that.

Could you try deleting it in a graphical file manager instead?


No bad characters... the filename is CURRENTscripts.tgz
it will autocomplete to finish... and I can ls it
-rwxrwSrwt 1 root fMRI 7466754 Mar 15 11:13 CURRENTscripts.tgz

but rm or mv or tar -xzf all fail saying it doesn't exist.
It's shared, but I have full read/write access to the drive for any other file, which are set with the same permissions, user, and group
tried deleting it in Windows where I have the shared drive mounted, but Windows gives me pretty much the same thing (though there it says file is in use, but if I try to open it there I just get an empty zip file that it asks if I want to add any files to)
 
Old 03-16-2005, 04:06 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,622
Blog Entries: 10

Rep: Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772
Where did you get
Code:
-rwxrwSrwt 1 root fMRI 7466754 Mar 15 11:13 CURRENTscripts.tgz
from?
According to "man chattr" it's "synchronous updates (S)"


Cheers,
Tink
 
Old 03-16-2005, 04:16 PM   #5
Daenris
LQ Newbie
 
Registered: Mar 2005
Location: Chicago
Distribution: FC3
Posts: 9

Original Poster
Rep: Reputation: 0
Not really sure... I didn't set up the CIFS mount unfortunately... the IT guys here did it, and they know less than they should about computers... especially linux... already had a bunch of other problems with the drive randomly becoming inaccessible or even cifsd hanging the whole computer.
 
Old 03-16-2005, 04:52 PM   #6
Daenris
LQ Newbie
 
Registered: Mar 2005
Location: Chicago
Distribution: FC3
Posts: 9

Original Poster
Rep: Reputation: 0
actually looks like the S and t in the modes there refer to Suid, and the sticky bit set...
 
Old 03-16-2005, 04:54 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,622
Blog Entries: 10

Rep: Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772
Nope ... S!=s setuid is not in caps.


Cheers,
Tink
 
Old 03-16-2005, 04:57 PM   #8
Daenris
LQ Newbie
 
Registered: Mar 2005
Location: Chicago
Distribution: FC3
Posts: 9

Original Poster
Rep: Reputation: 0
right... but I was just reading a website that said since it shares space with the x execute it has to distinguish... so s is Suid AND execute, and S is Suid without execute.. which doesn't make a lot of sense... same with the t... t is sticky bit AND execute, but T would be sticky bit without execute...
 
Old 03-17-2005, 03:01 AM   #9
ampex189
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: mepis 3.3.1
Posts: 82

Rep: Reputation: 15
(removed, stupid response, sorry)

Last edited by ampex189; 03-17-2005 at 03:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing non existant folder squady Linux - Newbie 2 10-11-2005 12:10 AM
Sendmail to accept non-existant domains benjithegreat98 Linux - Networking 2 03-09-2005 09:43 AM
snmp staus shows it running but on trying MRTG, it shows public@ipaddr not giving res swati220781 Linux - Networking 3 07-08-2004 05:32 PM
Using RH9 on an existant FAT partition? **DONOTDELETE** Linux - Newbie 4 10-22-2003 05:33 AM
What file in /etc shows the number of ports? thatgentleman Linux - General 2 03-22-2002 10:38 PM


All times are GMT -5. The time now is 07:40 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration