How to set policy for user on specific folder from drive

Luya Tshimbalanga luya at fedoraproject.org
Thu Nov 19 22:12:09 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 

> That's not under policykit's
remit, really. policykit can deal with

> policies regarding mounting drives, but not what you get to see on
what

> drive. That would appear to be exactly what good old file/folder

> permissions and/or ACLs are for? Why can't you do that?

Understood about file/folder permission but the mounting drive is a concern.
For a better clarification , say there are multiple users (3) in this
scenario: user1, user2, and user3.
 user1 has bar1, user2 has bar2 and user3
has none. I set rules for policykit to mount for all but user3 under
/media/foo. I created a symlink for all but user3
from /media/foo/barX on desktop (Gnome environment for example).
/media/foo icon is displayed on desktop; is it possible to hide it?

Another question
User1 logs in and switched to another session for user2. Then user2
switch to another session for user3 who
cannot access to /media/foo as expected.
Will /media/foo be mounted for both user1 and user2 and bar1 folder not
accessible for user1?

I just want to get familiar with this new policy having used to
system->preferences->Authorization.

- -- 
Luya Tshimbalanga
Graphic & Web Designer
E: luya at fedoraproject.org
W: http://www.thefinalzone.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAksFwrUACgkQaS6HaNQHFTnyMwCghOy3NKYjUqV+WmRAbxSVHyW6
tdwAn2qNJkpPR6ZLUpwWJfKq/H2SJB2E
=hJAQ
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-desktop-list/attachments/20091119/8f8e8b50/attachment.htm>


More information about the Fedora-desktop-list mailing list