File not found - for no reason


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory File not found - for no reason
# 1  
Old 08-23-2005
File not found - for no reason

Hi
This is my first post hope someone can help
I develop and support a multi user application running on TRU64. All users were running the app sucessfully until one user tried loggin in again. This user, and all other users who subsequently log in, cannot find a particular file in a shared folder dispite the permissions not changing and other files in this folder being found no problem and any user who remained logged still being able to access the file. The file is opened and closed each time it is accessed.
The only thing I can think of doing at this stage is rebooting but am afraid no one will be able to access.
The really weired thing is I can still access the file no matter how many times I log in.
I and the users are in the same group although I do own the file. The permissions are -rw-rw---
any thoughts greatly appreciated
# 2  
Old 08-23-2005
What is the group on the file? Maybe the other users are no longer members of that group.
# 3  
Old 08-24-2005
The groups haven't changed, that was about the second thing I checked
The things I have ruled out are permissions/ownership and paths. Also the app hasn't changed, no new version implemented for weeks and the physical file structure has not been altered
# 4  
Old 08-24-2005
Simply saying you ruled something out is not very informative. If I had a penny for every time a poster incorrectly ruled something out I would be a rich man (well, I could afford to go to a movie and buy some popcorn anyway). What technique did you use to verify that group did not change? Try changing the file to 666, can they access it then? Are the other users prevented from accessing other files 660 with that particular group? Do you have the "groups" command? If so, run it as those other users. What is the timestamp on /etc/group? Were these other users recently added to any other groups? How many groups are you trying to add them to? Is that greater than the maximum number of groups per user for your OS?
# 5  
Old 08-24-2005
Problem solved
It was down to paths, which I know I said I had ruled out, but it was triggered by a ISAM index becoming corrupted.
Some of the users had a complete path set to a working directory in their profile and some did not. The reason for this is due to the development of the app which now sets all necessary paths for its operation, so older users have the complete path newer ones do not. One of the older users was not effected by the index corruption, for some reason, all other users were. This led me to believe that the app had set the paths, but this turns out to not be the case. I don't know why this one user was not effected. I just needed to swap 2 lines of code to ensure the correct error is returned every time. Thanks for the replies anyway
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

While loop a file containing list of file names until the files are found?

Hi, I have a control file which will contain all filenames(300) files. Loop through all the file names in the control files and check the existence of this file in another directory(same server). I need to infinitely(2 hrs) run this while loop until all the files are found. Once a file is found,... (5 Replies)
Discussion started by: laknar
5 Replies

2. Shell Programming and Scripting

Modify a file by another file: add new line and variable after string is found

hello, I have problem with writing/adjusting a shell script. I searched forum and unfortunately couldn't write scipt based on the information I found. I never wtire such so it's hard for me and I do need to modify one script immediately. case looks like: 1. 'file' that needs to be modified... (3 Replies)
Discussion started by: bipbip
3 Replies

3. Shell Programming and Scripting

Delete a pattern present in file 2 from file 1 if found in file 1.

I have two files File1 ==== 1|2000-00-00|2010-02-02|| 2| 00:00:00|2012-02-24|| 3|2000-00-00|2011-02-02|| File2 ==== 2000-00-00 00:00:00 I want the delete the patterns which are found in file 2 from file 1, Expected output: File1 ==== (5 Replies)
Discussion started by: machomaddy
5 Replies

4. Shell Programming and Scripting

No 1 answering my question... any reason ?

can some one please help me at my post ? for hours yet being ignored Need help on this: nonsense. can't even solve forum ask people redo whole code. LMAO - after asking 101 qns the pre result should be like this: A A A A A A A A A A A A A A A A A A A A A A A A A... (27 Replies)
Discussion started by: nanochan1
27 Replies

5. UNIX for Dummies Questions & Answers

12. If an ‘88’ Record with BAI Code ‘902’ was found on input file and not written to Output file, re

This is my input file like this 03,105581,,015,+00000416418,,,901,+00000000148,,,922,+00000000354,,/ 49,+00000000000416920,00002/ 03,5313236,,015,+00231036992,,,045,+00231036992,,,901,+00000048428,,/ 88,100,+0000000000000,0000000,,400,+0000000000000,0000000,/ 88,902,+0000000079077,,/... (0 Replies)
Discussion started by: sgoud
0 Replies

6. Red Hat

Server usually restart not reason

Hi everyone, - I have CentOs server 5.4 , I usually remote by ssh. - My problem is server usually restart but I don't reason. I check log in file /var/log/messages: I don't see "signal 15" which kernel have to receive before restart. Everyone can see in attach. - I try to restart with command... (3 Replies)
Discussion started by: vietbk87
3 Replies

7. Programming

what is the exact reason ?

please refer the following 2 statements... 1) int i=1,j; j= i++ + i++; 2) int i=1,j; j=++i + ++i; how j becomes 2 and 6 for the above 2 statements respectively ??? ( i guessed j must be 3 and 5) Somebody define the exact reason please.. :( ... (2 Replies)
Discussion started by: shamal
2 Replies
Login or Register to Ask a Question