Help! I can't get permissions!Forum: Other Help Topics Topic: Help! I can't get permissions! started by: intel.ectual Posted by intel.ectual on Mar. 18 2007,16:21
HELP!I'm new to Linux, in fact I just downloaded/installed DSL last night. I like it, and I think it's gonna be a lot better for me when I learn how to use it, but I am having some basic issues right now. I have somehow gotten locked out of some of my dirs. I am root, and I have access to /, but I cannot get into the /mine dir that I made. It's just a few subdirs in it right now, no files, but I want to use it for all my junk... I checked permissions and I do not even have read access to it. I am unable to change these... I used the GUI and I used chmod, logged in as root and again as su, but I can't get access. Can anyone please help me? I think Tux is laughing right now... Posted by intel.ectual on Mar. 18 2007,16:52
OK, I get get access to everything logged in as su from the ATerminal, but I cannot change priveleges from it so that I can use the files and directories from within EmelfmI am trying to get complete permissions for / If that's not possible, I'd at least like it for /mine Thanks, any help appreciated Posted by lucky13 on Mar. 18 2007,17:12
How did you set this up? Did you set it up in /home (/home/mine) or from / ? Something like that belongs in /home, but you should be able to access it as root/su regardless. You can change xIDs as root by right clicking on the directory in emelfm, scrolling to the permissions, and then clicking/unclicking the relevant boxes. For ease of use, though, I recommend you simply stick with being user DSL and nesting your personal directories in /home/dsl (/home/dsl/mine) and using su rather than logging in as root when you need to do something to the system. That will allow you to keep things separated without setting permissions (at least until you understand them). Really bad things can happen when you log in as root (or use su) and don't understand what you're doing, or if you ever forget that you're still logged in as root.
Posted by lucky13 on Mar. 18 2007,17:16
Nuh uh. Don't do that. That's why you have root and user privileges. Keep them separate and you'll be happy. Posted by intel.ectual on Mar. 18 2007,18:12
Alright, so I need to set everything for my own use at "/home/mine" and dont mess with anything from "/" just for normal use.Thanks, but if I do need permissions to "/" to do anything in the future, how can I get access? I can get it in BASH when I'm su or root, but I can't in emelfm... Also, if I want to install programs, where/how do I do that? For instance, I have NVu, a WYSIWYG HTML editor for Linux. How would I set this up? Also, one more thing: How do I access a usb drive? Is it something like "/dev/usb"? Posted by tp560e on Mar. 18 2007,21:16
I think all you have to do is right-click on emelfm and then start it as superuser.
Posted by tp560e on Mar. 18 2007,21:18
I think all you have to do is right-click on emelfm and then start it as superuser
Posted by lucky13 on Mar. 18 2007,21:32
Just use /home/dsl for your stuff. If you want a separate directory for your own stuff, just use /home/dsl/mine. This will make things much easier for you (especially since a lot of the scripts in DSL work for user dsl rather than as "mine").
You can start emelfm as root. Right click on the emelfm icon and elect "emelfm as super user." From aterm: su emelfm & Etc.
Depends which version you're using and how it's installed. Frugal or hard drive? Earlier versions have (and future ones will have) a menu entry to enable apt. There's a menu entry for "mydsl browser" under net. This tool browses the mydsl repository for various extension types (dsl, unc, uci). UNC and UCI extensions are suitable for frugal installs, not so much for traditional hard drive installs. If you want to enable apt-get and you don't have an earlier version that lets you do that from the menu, there's an extension for that in the repository. That will allow you to use synaptic to choose files from the Debian pool (old stable by default; upgrade above that at your own risk). You can also use apt-get from a shell instead of synaptic. You just have to enable apt first.
It depends which version it is, if it's a binary or source package, and how many dependencies it requires that you don't have. Just because you're running Linux doesn't mean you're home free. You usually have to meet certain dependencies before you either add/compile and run applications (btw, DSL doesn't come with GCC so you'll have to add that if you choose to compile applications from source). I don't know which version of nvu is in Debian old stable -- or even if there is one, but I know there are others like bluefish available. I think there's also a verison in the mydsl GTK2 section.
Your USB devices -- thumbdrives, mp3players, cameras, etc. -- should be detected by hotplug and mount points should be set sequentially (sda1, sdb1, sdc1, etc.) in /mnt. You'll need to use emelfm as root. FWIW, you don't mount devices in /dev. |