When writing to a directory type file (type 1 or 19), the permissions are 
changed to match those of the directory.  This is so that the owner of the 
directory is able to have access to all the contents regardless of the 
writer.  In your test of shelling out, you bypass the permission change 
because you are no longer under write control of universe.
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
"Happiness comes through doors you didn't even know you left open." - 
Anonymous

Glenn M. Herbert - Connectivity Development  Engineer
Information Integration Solutions, IBM Software Group
50 Washington Street Westboro, MA 01581
 508-599-7281 direct 



"Jerry Banker" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
04/27/2006 11:51 AM

To
"U2Users" <[email protected]>
cc

Subject
[U2] Question of permissions UV Linux






This doesn't cause any problems but it puzzles me. None of our users are
set up in the 'bin' group they are all in the 'users' group. However,
I've noticed the when we save a program source, while in UV, the group
it's saved under is 'bin'. If I shell out of UV then save a file it is
saved under the 'users' group. Can someone explain this behavior?



Jerry
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to