Re: having trouble dragging files to Gnome desktop permission problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-05-10 at 20:31 -0500, Scott Berry wrote:
> My father has a permission problem whenever he wants to drag an item
> from a folder or directory to the desktop.  Here is an example:
> "/home/SonyCam" cannot be moved because you do not have permissions to
> change it or it's parrent folder.
>  
> The buttons are Retry and Cancel any help would be appreciated.

Directories directly inside /home *may* only be moveable by root.  Files
inside of them *may* be moveable by ordinary users, depending on the
permissions of that directory and the file in question.

Manipulating files in a directory involves re-writing that directory, so
the parent permissions are also a part of the task, as well as the
file's own permissions.  Look at the permissions of the files and parent
directories.

Here's one example of how things *could* be:

 ls -ald /home/
drwxr-xr-x 8 root root 4096 Apr 27 16:45 /home/

 ls -al /home/
drwx---r-x 15 guest  guest   4096 Jan 14 19:12 guest
drwxrwx--- 21 tim    users   4096 Mar  4 17:42 sharing
drwx-----x 66 tim    tim     4096 May 11 15:39 tim

If you're sharing files between users, you may have to work out a scheme
that fits in with how you want to do things, and how the file system
works.  I made a /home/sharing directory, then either allowed "other"
users read/write/execute permissions, or did the same with the "group"
permisions, and added users to the sharing group.  Any file to be shared
was placed in there, and the owner made sure permissions were set so
that other users could use the file.

Whether you go down the "all users" or "all pre-configured users in a
group" route depends on who uses your system, and who you don't want
using it.

Avoid setting permissions so that anybody could write anywhere, you open
yourself up to exploits.  i.e. Don't make /home rwx for all users.  Make
a sub-directory as root, change that sub-directory's permissions.

-- 
(This box runs FC6, my others run FC4 & FC5, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux