HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unexpected Tilde character on directoryname
Operating System - HP-UX
1833784
Members
4892
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2008 03:41 PM
01-04-2008 03:41 PM
Hi,
I encountered problem in my HP-UX 11.23 while today ,suddenly there was a new directory with tilde character and 1 number in the directory name.
I've tried to trace for some logs ,but there are no any user except me who has login to this machine today.
i.e
original directoryname: /directory/mydir
the new directoryname: /directory/mydir~1
although the original directory is still there.
could you anyone to help me to find out the reason why this new directory has created ?
thx,
-dju
I encountered problem in my HP-UX 11.23 while today ,suddenly there was a new directory with tilde character and 1 number in the directory name.
I've tried to trace for some logs ,but there are no any user except me who has login to this machine today.
i.e
original directoryname: /directory/mydir
the new directoryname: /directory/mydir~1
although the original directory is still there.
could you anyone to help me to find out the reason why this new directory has created ?
thx,
-dju
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2008 04:31 PM
01-04-2008 04:31 PM
Re: Unexpected Tilde character on directoryname
Hello Mohamad,
a) Do you, by any chance share this directory
with Windows users (Samba, for example)?
I have seen funny issues like yours when
Windows users have access to Unix directories.
Each file system decides how it wants to implement short file names in Windows.
For example, Windows 95 uses the "~n" method exclusively. Long file names will contain a tilde for the first 9999 files with the same name:
longfi~1 longfi~2...
After that it seems to start randomizing the
end bit.
Windows NT adds the hexadecimal hash overflow technique.
Some file systems (like Novell) just truncate
the name. "Long dirname for file.txt" on a
Novell server will come out to
"LONGDIRN.TXT".
b) Strange directory and file names can also
be created by incorrect CTRL-C or similar
sequence.
c) Who is the owner of the directory and
what are its permissions? Is the directory empty? What is the datestamp of
last modification?
d) Can you list directories for
unprintable characters:
ls -alb /directory/mydir
ls -alb /directory/mydir~1
ls -alb /directory
Cheers,
VK2COT
a) Do you, by any chance share this directory
with Windows users (Samba, for example)?
I have seen funny issues like yours when
Windows users have access to Unix directories.
Each file system decides how it wants to implement short file names in Windows.
For example, Windows 95 uses the "~n" method exclusively. Long file names will contain a tilde for the first 9999 files with the same name:
longfi~1 longfi~2...
After that it seems to start randomizing the
end bit.
Windows NT adds the hexadecimal hash overflow technique.
Some file systems (like Novell) just truncate
the name. "Long dirname for file.txt" on a
Novell server will come out to
"LONGDIRN.TXT".
b) Strange directory and file names can also
be created by incorrect CTRL-C or similar
sequence.
c) Who is the owner of the directory and
what are its permissions? Is the directory empty? What is the datestamp of
last modification?
d) Can you list directories for
unprintable characters:
ls -alb /directory/mydir
ls -alb /directory/mydir~1
ls -alb /directory
Cheers,
VK2COT
VK2COT - Dusan Baljevic
- Tags:
- unprintable chars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2008 05:03 PM
01-06-2008 05:03 PM
Re: Unexpected Tilde character on directoryname
a) I will ask to IT application support in my office first, since Windows 2003 for client which point to this directory for upload data thru application..
c) no, there are some files from windows which uploaded to this directory thru application.
for the ACL please see the following list below :
ls -alb /directory/mydir
total 6
drwxrwxr-x 6 ora10gas dba 96 Jan 4 20:26 .
drwxrwxr-x 5 ora10gas dba 96 Jan 2 15:52 ..
drwx------ 5 ora10gas dba 96 Jan 4 15:16 01
drwx------ 2 ora10gas dba 1024 Jan 4 16:12 2101
drwx------ 2 ora10gas dba 1024 Jan 4 15:16 2158
drwx------ 2 ora10gas dba 1024 Jan 4 16:12 workarea
ls -alb /directory/mydir~1
total 6
drwxrwxr-x 6 ora10gas dba 96 Jan 4 20:26 .
drwxrwxr-x 5 ora10gas dba 96 Jan 2 15:52 ..
drwx------ 5 ora10gas dba 96 Jan 4 15:16 01
drwx------ 2 ora10gas dba 1024 Jan 4 16:12 2101
drwx------ 2 ora10gas dba 1024 Jan 4 15:16 2158
drwx------ 2 ora10gas dba 1024 Jan 4 16:12 workarea
ls -alb /directory/mydir~1/2101/
total 7
drwxrwxr-x 6 ora10gas dba 96 Jan 4 16:12 .
drwxrwxr-x 5 ora10gas dba 96 Jan 4 17:07 ..
-rw-rwx--- 1 ora10gas dba 9984 Jan 4 15:20 LTS_ORMS1_20071231_1_OVERRIDE FLAG WO DARI Y TO N & Y to Y_31122007.TXT
-rw-rwx--- 1 ora10gas dba 3596 Jan 4 15:21 LTS_OUAT11_20080805_3_reversal denda 1
-rw-rwx--- 1 ora10gas dba 3596 Jan 4 15:28 LTS_OUAT11_20080805_4_reversal denda 1.txt
-rw-rwx--- 1 ora10gas dba 3596 Jan 4 17:36 LTS_OUAT11_20080805_5_reversal denda 2.txt
-rw-rwx--- 1 ora10gas dba 3596 Jan 4 18:02 LTS_OUAT11_20080805_6_reversal denda 3.txt
ls -alb /directory
total 44
drwxrwxr-x 5 ora10gas dba 96 Jan 2 15:52 .
drwxrwxr-x 3 ora10gas dba 96 Oct 6 17:58 ..
drwxrwxr-x 6 ora10gas dba 96 Jan 4 20:26 mydir
drwxrwxr-x 7 ora10gas dba 96 Jan 4 17:07 mydir~1
drwxrwxr-x 5 ora10gas dba 22528 Jan 4 22:09 mydirout
c) no, there are some files from windows which uploaded to this directory thru application.
for the ACL please see the following list below :
ls -alb /directory/mydir
total 6
drwxrwxr-x 6 ora10gas dba 96 Jan 4 20:26 .
drwxrwxr-x 5 ora10gas dba 96 Jan 2 15:52 ..
drwx------ 5 ora10gas dba 96 Jan 4 15:16 01
drwx------ 2 ora10gas dba 1024 Jan 4 16:12 2101
drwx------ 2 ora10gas dba 1024 Jan 4 15:16 2158
drwx------ 2 ora10gas dba 1024 Jan 4 16:12 workarea
ls -alb /directory/mydir~1
total 6
drwxrwxr-x 6 ora10gas dba 96 Jan 4 20:26 .
drwxrwxr-x 5 ora10gas dba 96 Jan 2 15:52 ..
drwx------ 5 ora10gas dba 96 Jan 4 15:16 01
drwx------ 2 ora10gas dba 1024 Jan 4 16:12 2101
drwx------ 2 ora10gas dba 1024 Jan 4 15:16 2158
drwx------ 2 ora10gas dba 1024 Jan 4 16:12 workarea
ls -alb /directory/mydir~1/2101/
total 7
drwxrwxr-x 6 ora10gas dba 96 Jan 4 16:12 .
drwxrwxr-x 5 ora10gas dba 96 Jan 4 17:07 ..
-rw-rwx--- 1 ora10gas dba 9984 Jan 4 15:20 LTS_ORMS1_20071231_1_OVERRIDE FLAG WO DARI Y TO N & Y to Y_31122007.TXT
-rw-rwx--- 1 ora10gas dba 3596 Jan 4 15:21 LTS_OUAT11_20080805_3_reversal denda 1
-rw-rwx--- 1 ora10gas dba 3596 Jan 4 15:28 LTS_OUAT11_20080805_4_reversal denda 1.txt
-rw-rwx--- 1 ora10gas dba 3596 Jan 4 17:36 LTS_OUAT11_20080805_5_reversal denda 2.txt
-rw-rwx--- 1 ora10gas dba 3596 Jan 4 18:02 LTS_OUAT11_20080805_6_reversal denda 3.txt
ls -alb /directory
total 44
drwxrwxr-x 5 ora10gas dba 96 Jan 2 15:52 .
drwxrwxr-x 3 ora10gas dba 96 Oct 6 17:58 ..
drwxrwxr-x 6 ora10gas dba 96 Jan 4 20:26 mydir
drwxrwxr-x 7 ora10gas dba 96 Jan 4 17:07 mydir~1
drwxrwxr-x 5 ora10gas dba 22528 Jan 4 22:09 mydirout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 03:01 AM
01-08-2008 03:01 AM
Solution
Hello,
I am almost confident that it is Windows
client that is causing it.
Depending on the setup of your
Samba on the HP-UX server and the way the
Windows users access the files,
they probably save the original versions
before making changes.
Cheers,
VK2COT
I am almost confident that it is Windows
client that is causing it.
Depending on the setup of your
Samba on the HP-UX server and the way the
Windows users access the files,
they probably save the original versions
before making changes.
Cheers,
VK2COT
VK2COT - Dusan Baljevic
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP