- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error when changing permission of the folder.
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
тАО08-12-2009 09:49 AM
тАО08-12-2009 09:49 AM
I am getting following error when try to change the permission of some folders.
Why the errors, like this, is comming.
root@lgapps:/emd/iwire/common > chmod -R 777 library/
chmod: can't change ground_bus18.prt: No such file or directory
chmod: can't change 40049964_92126.prt: No such file or directory
chmod: can't change 40029233_gen.prt: No such file or directory
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 09:53 AM
тАО08-12-2009 09:53 AM
SolutionIt would appear that the subordinate entites have been removed between the time they were cataloged for action and the actual change in permission was attempted.
Be very careful with recursive ('-R') actions that you don't affect something you don't want to change. Also, "wide-open" "rxw" (777) permissions on files and directories is generally very undesirable and highly unnecessary!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 06:26 PM
тАО08-12-2009 06:26 PM
Re: Error when changing permission of the folder.
Please post the output of ls -laR of the library directory (assuming the path is /emd/iwire/common/library ?).
Best regards,
Jamie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 08:26 PM
тАО08-12-2009 08:26 PM
Re: Error when changing permission of the folder.
Can you pls provide the o/p of ls -l ground_bus18.prt or any of the files that you are getting an error.
Hopefully these files doesnt exist..If they exist then pls provide me the bdf /library op..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 08:37 PM
тАО08-12-2009 08:37 PM
Re: Error when changing permission of the folder.
- Try to find if these exists.
- What about rest of the file permission in that directory, have they changed?
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 08:52 PM
тАО08-12-2009 08:52 PM
Re: Error when changing permission of the folder.
Most probable cause would be the one James pointed out. What happen when you give recursive option is, shell will collect the list of files needs to be modified then it apply the changes.
If any application runtime files got deleted by the application after shell collected the list of files, then shell produce the error saying that not able to find the file. It is normal behaviour and you can ignore it.
You might have seen this kind of behaviour in ignite backups.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 12:50 AM
тАО08-13-2009 12:50 AM
Re: Error when changing permission of the folder.
The shell isn't involved, chmod(1) is doing all of the work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 02:19 AM
тАО08-13-2009 02:19 AM
Re: Error when changing permission of the folder.
That -R can work across soft links and wreak havoc.
You should take a look with ll -R and see what you just opened up to 777 permissions.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 02:32 AM
тАО08-13-2009 02:32 AM
Re: Error when changing permission of the folder.
First look out if these files are exist or not.
Regards
Sunny