OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005092 [gsed] upgrade major always 2013-07-15 17:12 2014-03-24 00:48
Reporter opk View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0005092: gsed -i sets file permissions to 0000 due to acl calls failing
Description When using gsed 4.2.2 on a cluster file system (pxfs), optionally via NFSv3, gsed -i is setting the file permissions to 0000 after printing "Unknown system error". Clearing the permissions like this is far worse than if it was to simply not preserve the ACLs.
Additional Information The problem os due to the calls to get the file ACLs. From truss:
facl(3, ACE_GETACLCNT, 0, 0x00000000) = 4
facl(3, ACE_GETACL, 4, 0x000487B8) Err#-1

The ACE variants don't work in this case. With gsed 4.2.1, I have instead:

facl(3, GETACLCNT, 0, 0x00000000) = 4
facl(3, GETACL, 4, 0x00045930) = 4
facl(4, SETACL, 4, 0x00045930) = 0
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010772)
maciej (reporter)
2014-03-24 00:48

There is no point in waiting for this bug to be fixed. If you want it fixed, you (yes, you the reader) need to fix it yourself. If you're not already a package maintainer at OpenCSW, you can look at the 35 minute long tutorial[1] to get started - then you can offer your patch to package maintainers. You can find OpenCSW people on the users mailing list[2] and on the #opencsw channel on IRC on Freenode[3].

[1] Packaging tutorial http://youtu.be/JWKCbPJSaxw [^]
[2] OpenCSW users mailing list https://lists.opencsw.org/mailman/listinfo/users [^]
[3] #opencsw on Freenode http://www.opencsw.org/support/irc-channel/ [^]


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker