Solved

File permissions

Posted on 2000-02-21
5
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

Question has a verified solution.

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

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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses

630 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