Solved

File permissions

Posted on 2000-02-21
5
224 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now