Link to home
Start Free TrialLog in
Avatar of capttom
capttom

asked on

File permissions

I recently installed 2 new Enlightenment themes. When I log in as root I can use them fine but other users cannot even see the backgrounds. I tried deleting the directories and untarring them as a regular user but got "couldn't create directory" errors on untar.

I tried to give one of my users root privledges using linuxconf but even though it appeared to work the user doesn't actually have the access.

What I want to do is give one of my users high level access, if not root level, at least close to it but I can't get it to work. system is RH 6.1. Thanks.
Avatar of sandymacjr
sandymacjr

I'm not 100% sure but it sounds like you need to grant read rights to the otehr users for the theme tarballs.
try a:
chmod a+r <tarball name>
to give read access to everyone.

also with E themes if you copy the tarball to the .enlightenment/themes/ dirctory in the users home directory a specific user can install a theme.

about the near root privliges:
maybe I'm parinoid but nobody but me has root on my machine and I like it that way. root is usually an all or nothing thing. if you want to give root for a specific activity either make the command suid root or look at sudo:
http://www.courtesan.com/sudo/
Avatar of capttom

ASKER

Tarballs?? As for the root privledges, the user is me. i just don't want to be using the "root" id all the time. It certainly seems like alot of work to go through these dirs file by file and chmod....
chmod has a recursive option -R that if you execute it on a directory it'll change all the files and subdirectories within it.
So doing a chmod -R a+r ./enlightenment/themes will change all the files and subdirs under the themes directory to world readable.
The other thing is that each user has an .enlightenment directory under their home directory. Sounds like you may have placed the themes under the root's .enlightenment directory and by default that's not where the theme changing utility is looking by default.
  Your other option is to reinstall each theme from the user(s) accounts who want to use them, but this is just extra work and space wasted.
FYI:A tarball is a .tar file which is what .tgz(gzipped tarballs) files are, which is what themes are usually distributed as.
Avatar of capttom

ASKER

Nope, it didn't work. Now I can see the files in the file list but still can't use them (can't see pictures even though I see files). All my themes are in /usr/share/enlightenment/themes, not seperate for users.
ASKER CERTIFIED SOLUTION
Avatar of tibori
tibori

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial