Solved

File permissions

Posted on 2000-02-21
5
228 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.

863 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

20 Experts available now in Live!

Get 1:1 Help Now