Solved

File permissions

Posted on 2000-02-21
5
233 Views
Last Modified: 2013-12-15
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.
0
Comment
Question by:capttom
  • 2
  • 2
5 Comments
 

Expert Comment

by:sandymacjr
ID: 2543259
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/
0
 

Author Comment

by:capttom
ID: 2555853
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....
0
 
LVL 3

Expert Comment

by:tibori
ID: 2570739
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.
0
 

Author Comment

by:capttom
ID: 2574695
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.
0
 
LVL 3

Accepted Solution

by:
tibori earned 200 total points
ID: 2575007
I'm not sure exactly how the enlightenment theme manager works, but in kde it uses the actual .tgz file. If you try to extract it manually then it doesn't know what to do. My suggestion is check the permissions on the .tgz theme file(ls -l <themefile>.tgz) and make sure it's readable by all. it should have something like r--r--r-- at the least. If not do a chmod a+r <themefile>.tgz
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question