Subject: | |
From: | |
Reply To: | PAUL,GUY (HP-Boise,ex1) |
Date: | Wed, 25 Jun 2003 10:35:04 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Probably due the the length of the filename:
touch 2003-06-25_data_good.csv
touch: file "2003-06-25_data_good.csv": Filename too long
> -----Original Message-----
> From: John Korb [mailto:[log in to unmask]]
> Sent: Wednesday, June 25, 2003 11:27 AM
> To: [log in to unmask]
> Subject: Strange POSIX/file system behavior
>
>
> Ah, the joys of POSIX-land.
>
> I'm trying to purge a file which was created by MANAGER.SYS
> in another account. After MANAGER.SYS BUILDs the file,
> writes data to the file, "chown" the file, and "chmod" the
> file, the file is available for various applications to read.
> Or at least that is the idea. I've run one test, and I've
> found a snag.
>
> The snag is that I need to "rm" the file. Unfortunately,
> "rm" won't work. The really odd part is that "PURGE" will
> work (see below). Anyone run into this quirk before? Anyone
> know WHY this happens?
>
> John
>
> (reminder: The user executing the commands below is MANAGER.SYS)
>
> shell/iX> pwd
> /SHARE/PUB/data/dbinput/data
>
> shell/iX> ls -l
> total 4200
> -rw------- 1 SAMBA.SHARE SHARE 2150364 Jun 25 13:00
> 2003-06-25_data_good.csv
> shell/iX> rm 2003-06-25_data_good.csv
> rm: cannot unlink entry "2003-06-25_data_good.csv": No such
> file or directory
>
> shell/iX> rm 2003-06-25*
> rm: cannot unlink entry "2003-06-25_data_good.csv": No such
> file or directory
>
> shell/iX> ls -l
> total
> 4200
>
> -rw------- 1 SAMBA.SHARE SHARE 2150364 Jun 25 13:00
> 2003-06-25_data_good.csv
>
> shell/iX> chmod 774 2003-06-25_data_good.csv
> shell/iX> ls -l
> total 4200
> -rwxrwxr-- 1 SAMBA.SHARE SHARE 2150364 Jun 25 13:00
> 2003-06-25_data_good.csv
>
> shell/iX> rm 2003-06-25_data_good.csv
> rm: cannot unlink entry "2003-06-25_data_good.csv": No such
> file or directory
>
> shell/iX> rm *
> rm: cannot unlink entry "2003-06-25_data_good.csv": No such
> file or directory
>
> shell/iX> ls -l
> total 4200
> -rwxrwxr-- 1 SAMBA.SHARE SHARE 2150364 Jun 25 13:00
> 2003-06-25_data_good.csv
>
> shell/iX> chown MANAGER.SYS:SYS 2003-06-25_data_good.csv
> shell/iX> ls -l total 4200
> -rwxrwxr-- 1 MANAGER.SYS SYS 2150364 Jun 25 13:00
> 2003-06-25_data_good.csv
>
> shell/iX> chmod 777 2003-06-25_data_good.csv
> shell/iX> ls -l
> total 4200
> -rwxrwxrwx 1 MANAGER.SYS SYS 2150364 Jun 25 13:00
> 2003-06-25_data_good.csv
>
> shell/iX> rm 2003-06-25_data_good.csv
> rm: cannot unlink entry "2003-06-25_data_good.csv": No such
> file or directory
>
> shell/iX> exit
>
> :
> :purge /SHARE/PUB/data/dbinput/data/2003-06-25_data_good.csv
> :
> :
> :listfile /SHARE/PUB/data/dbinput/data/@,2
> No match found for the pathname. (CIWARN 9043)
> :
> :sh
> ##############################################################
> ##########
>
> MPE/iX Shell and Utilities (A.50.02)
> COPYRIGHT (c) Hewlett-Packard Company 1992, All Rights Reserved.
>
> ##############################################################
> ##########
>
>
> you have mail in /usr/mail/MANAGER.SYS.
> shell/iX> cd /SHARE/PUB/data/dbinput/data
>
> shell/iX> ls -l
> total 0
>
> shell/iX> pwd
> /SHARE/PUB/data/dbinput/data
>
> shell/iX> exit
>
> :
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|