PDA

View Full Version : [ubuntu] move files between users



cigtoxdoc
December 12th, 2008, 03:52 PM
How do I set up File Browser so that I can move files back and forth between /home/dad/documents/ and /home/son/documents/ ?

dad, of course, has set himself up as system administrator.

OS = 8.10

Izek
December 12th, 2008, 04:28 PM
If he's a "Root" then he can just copy the files over through the file manager as per normal. (Root is not the same as System Admin, I'm pretty sure of it.)

cigtoxdoc
December 12th, 2008, 05:11 PM
But Ubuntu will not let you log in as root except in terminal mode. I installed "file sharing", but File Browser will still NOT let me do what I want to do.

John

Rudy507
December 12th, 2008, 06:22 PM
gksudo nautilus I believe is how you open the gui file browser as a super user. From here, you should just be able to copy and paste.

Do you want to change file ownership too?

cigtoxdoc
December 20th, 2008, 04:39 PM
Thank you for your help. gksudo nautilus worked perfectly.

This is great stuff, especially for those of us who have gotten use to working with a well-known proprietary OS; and on systems we administer ourselves; are used to moving files around at will.

Why isn't this a standard feature for Nautilus in Ubuntu?

How can nautilus be set up to do this every time I log on?

John

Izek
December 20th, 2008, 04:55 PM
1.

gksudo gedit /usr/share/applications/nautilus-computer.desktop

replace nautilus on the Exec= line with gksudo nautilus. Save.

2.

gksudo gedit /usr/share/applications/nautilus-folder-handler.desktop

replace nautilus on the Exec= line with gksudo nautilus. Save.

Restart the session by doing CRTL+ALT+Backspace

It isn't a standard feature because that would be a security hole I believe, plus it's annoying when you have to type in your password every time you first open nautilus.