- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- strange file permission
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
Forums
Discussions
Discussions
Discussions
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
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
02-09-2006 10:10 PM
02-09-2006 10:10 PM
strange file permission
I have a file with -rw-------+ file permission.
I can change the ugo rights with chmod, but I cannot get rid of the +
1. How do I change the rights before and after ugo?
2. What is the meaning of this +?
I have an Itanium running hp-ux 11iv2.
Any input will be appreciated.
Thank you.
Luc Monnens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 10:16 PM
02-09-2006 10:16 PM
Re: strange file permission
1. How do I change the rights before and after ugo?
Using chmod only.
chmod
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 10:24 PM
02-09-2006 10:24 PM
Re: strange file permission
A bit odd.
chmod 0000 filename
does that help?
Don't forget to make the permissions normal when complete.
What is the name of the file, that might be helpful in tracking this down. Full path please.
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
02-09-2006 10:26 PM
02-09-2006 10:26 PM
Re: strange file permission
This + may indicate that there are an Access Control List ACl on that file.
man ls(1) section ACL, and lsacl(1)
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 10:31 PM
02-09-2006 10:31 PM
Re: strange file permission
I am running CIFS 02.01.02 (Samba 03.07) and the file in question is an Excel spreadsheet.
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 10:39 PM
02-09-2006 10:39 PM
Re: strange file permission
If ACL is on that file , you can check with lsacl and file name.
for details : $ man lsacl // $ man acl
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 10:53 PM
02-09-2006 10:53 PM
Re: strange file permission
We may not change the right before ugo.. since it is based on file type.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2006 12:12 AM
02-10-2006 12:12 AM
Re: strange file permission
----------+
"#lsacl -l test.xls" gives
"#lsacl: file "test.xls": Function is not available (errno = 251)"
"#touch test" creates a file with -rw-rw-r-- permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2006 12:15 AM
02-10-2006 12:15 AM
Re: strange file permission
check Document ID: KBRC00001987 in the tech base.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2006 12:42 AM
02-10-2006 12:42 AM
Re: strange file permission
try giving
chmod 1000
does this helps
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2006 01:32 AM
02-10-2006 01:32 AM
Re: strange file permission
Document ID: KBRC00001987 is about getting a "+" when doing an ls -al.
So that is indeed what happens.
It points to no ACLs being attached.
ANd the "+" only shows when doing the first ls -al after NFS mounting a directory.
This apparently happens when certain patch dependecies are missing.
So far this document.
The directory with this file is not nfs mounted.
My system was installed last week from the December 2005 release. So it should be pretty up to date.
I did a patch analysis, but how do I determine which patch I should apply to make sure this "+" does not show up anymore?
But most importantly what does this "+" means AND how do I get rid of t?
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2006 08:25 PM
02-12-2006 08:25 PM
Re: strange file permission
I do appriciate the input I got, but none of the replies really helped - hence the low points.
Is there anybody else out there who has seen and dealt with this before?
Kind regards,
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 01:00 AM
02-13-2006 01:00 AM
Re: strange file permission
According to the manual page of ls on 11iv1, if you are using JFS you should use getacl instead of lsacl to look at ACL contents. And the + should only be displayed for files having ACL's (which isn't strange for CIFS-exported filesystems).
Perhaps you missed something in your ls manual page on 11iv2 (I don't have one to look at this right now).
Hope this is of more help to you.
Kind regards,
Elmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 01:03 AM
02-13-2006 01:03 AM
Re: strange file permission
It is possible the file has an ACL associated with it.
If possible, copy the file elsewhere, remove it and then copy it back.
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
02-13-2006 01:29 AM
02-13-2006 01:29 AM
Re: strange file permission
Yes lsacl is not working, but getacl is.
Why would it make sense to have ACLs when using CIFS?
Can you point me to anywhere I could find more info on CIFS and ACLs?
Copying the file elsewhere, copies the + with it.
-------------------------------------------
Some more info: We have these files on our CIFS and users access them fine from their Office applications, modify them and save them. The next time they open them they get a "read only" notifycation.
When we check on the hp-ux file level we see that the rights have changed from -rwxrwx--- (for instance) to -r--rwx---+.
We can chmod them back to -rwxrwx---+ and the user can write to the files again.
--------------------------------------------
Would this be caused by ACL settings somewhere?
Where should I start looking?
Kind regards,
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 03:43 AM
02-14-2006 03:43 AM
Re: strange file permission
take a look at Document ID: KBRC00003073
in the tech base.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 07:22 PM
02-14-2006 07:22 PM
Re: strange file permission
But your problem indicates the ACL's aren't working as expected: they are correctly created, but the resulting mode of the file is incorrect.
The user in question, can you look into which groups he is part of? And if any of those match the groups in the ACL?
And I think you might check your CIFS configuration. Perhaps there is a problem with the umask, being set to 200 instead of 002, meaning the write bit of the user is always turned off when creating a file...
I don't have a lot of experience with CIFS and ACL's, so anyone with more experience, please correct me if I'm wrong. ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 09:42 PM
04-12-2006 09:42 PM