Solved

How to rename directories under another user...

Posted on 2006-11-08
1
221 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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…
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.

760 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