- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: touch command is not working
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО11-27-2008 12:25 PM
тАО11-27-2008 12:25 PM
Re: touch command is not working
This is partially incorrect. You can change the timestamp on the file if you have write permission on the file.
>Mark: cd ..
>ll -d dirname
>2. Go back into the directory
No need to do cd twice. Simply:
ll -d .
>Volkmar: whoami -> gives your user name
id(1) also gives you your user and group IDs.
>Maybe there's no time zone defined for the user?
Not hardly. It refers to permission problems changing the time to "now".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2008 02:26 PM
тАО11-27-2008 02:26 PM
Re: touch command is not working
It should be "drwx", if "w" is missing you cannot create / modify anything in that directory. If you are sure to have user have write permissions use the chown command. Refer the manpage at:
http://docs.hp.com/en/B3921-90010/chown.1.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2008 12:28 AM
тАО11-28-2008 12:28 AM
Re: touch command is not working
ok Anjaneyulu, that means for your question:
>$ touch a
>touch: cannot change times on a
The file 'a' exists, but you don't have write permissions to this file.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2008 12:45 AM
тАО11-28-2008 12:45 AM
Re: touch command is not working
Didn't Mark and I say that? :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2008 01:39 AM
тАО11-28-2008 01:39 AM
Re: touch command is not working
Maybe it was quite obvious for you?
For me it was new so I had to test it :-)
V.
- « Previous
-
- 1
- 2
- Next »