Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Writeability of a file for a different user

by JavaFan (Canon)
on Aug 03, 2011 at 06:50 UTC ( [id://918179]=note: print w/replies, xml ) Need Help??


in reply to Re: Writeability of a file for a different user
in thread Writeability of a file for a different user

That works fine if access control is done solely by the standard permission bits. It fails is access control is done via ACLs, which allows making a file writeable for more than the owner of a file, without having to resort to groups. (One can only be a member of a limited number of groups, a number that quickly exceeds the number of permutations of a small group of people wanting to share files)

AFAIK, there's no way to ACL querying with just standard Perl. But I'd be surprised if there aren't CPAN modules available that will do ACL management for the more common systems out there (but I haven't checked).

  • Comment on Re^2: Writeability of a file for a different user

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://918179]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-23 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found