Solved

How to rename directories under another user...

Posted on 2006-11-08
1
224 Views
Last Modified: 2013-12-15
I just installed SUse 10.0  and am learning to use it.  i'm a noob.

so, under root, in the GUI interface, I think i can rename directories... like i went into my public_html directory, and could create new one, and rename it....

but when logging in as a user... i don't have access to do that.  why not?  how do i set it up?  why's it not setup by default that way? (yeah sounds wierd, but for a pc that sits at home and is used by only me and my wife.... i wouldn't want to fiddle with settings that mundane)
0
Comment
Question by:alenknight
1 Comment
 
LVL 45

Accepted Solution

by:
sunnycoder earned 500 total points
ID: 17903978
Hi alenknight,

> but when logging in as a user... i don't have access to do that.  why not?  how do
> i set it up?  why's it not setup by default that way?
Files and directories in Linux have three sets of permissions -
1. For the owner
2. For the owner's group (of users)
3. For everyone else

Only exception is root user who can access everything ... Root account is normally used only for system configuration kind of tasks and typically system files can be modified only by root ... Also permissions are set up in such a way that file created by or present in root's directories are accessible only to root ... This is by design to keep the information of each user safe from other users and to protect the system configuration from accidental/malacious alteration by a new/rougue user.

highly recommended that you use a normal user account for normal use and "su" to superuser account whenever you need superuser permissions ...
man su for more details on su

Further reading
http://www.zzee.com/solutions/linux-permissions.shtml
http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilesp.html
http://www.ahinc.com/linux101/permission.htm

Cheers!
sunnycoder
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.:
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.

810 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