Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Server Platforms
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Server Platforms
Discussion regarding the Ubuntu Server Edition. For more information on the Ubuntu Server Team, please visit their wiki page or Launchpad page.

 
Thread Tools Display Modes
Old September 9th, 2008   #1
baudday
Way Too Much Ubuntu
 
baudday's Avatar
 
Join Date: Feb 2008
Beans: 244
[SOLVED] Changing permissions on external drive

So I connected one of those MyBook external hard drives (1 TB!) to my server. I would like for users to be able to upload and download files to and from it. The problem is I don't know how to do that. Even if I try gksudo dolphin and then try to change the permissions, when I click OK then go back to the permissions tab, they're just reverted again. I also can't create a folder within and change it's permissions, same thing happens. Does anyone know how I can achieve what I'm trying? I would really appreciate it.

Thanks
__________________
http://ourserver.wordpress.com
baudday is offline   Reply With Quote
Old September 9th, 2008   #2
erwall
A Carafe of Ubuntu
 
Join Date: Dec 2006
Location: Ellicott City, MD
Beans: 93
Ubuntu 8.04 Hardy Heron
Re: Changing permissions on external drive

Quote:
Originally Posted by baudday View Post
So I connected one of those MyBook external hard drives (1 TB!) to my server. I would like for users to be able to upload and download files to and from it. The problem is I don't know how to do that. Even if I try gksudo dolphin and then try to change the permissions, when I click OK then go back to the permissions tab, they're just reverted again. I also can't create a folder within and change it's permissions, same thing happens. Does anyone know how I can achieve what I'm trying? I would really appreciate it.

Thanks
Figure out where it's mounted open a terminal
Code:
cd /media
sudo chown -R someuser.someuser mountpoint
erwall is offline   Reply With Quote
Old September 9th, 2008   #3
baudday
Way Too Much Ubuntu
 
baudday's Avatar
 
Join Date: Feb 2008
Beans: 244
Re: Changing permissions on external drive

Thank you for the reply.

This is what I got back:
Code:
chown: changing ownership of '/media/disk': Operation not permitted
__________________
http://ourserver.wordpress.com
baudday is offline   Reply With Quote
Old September 9th, 2008   #4
47_MasoN_47
A Carafe of Ubuntu
 
47_MasoN_47's Avatar
 
Join Date: Jan 2008
Location: North Alabama
Beans: 110
Ubuntu 9.04 Jaunty Jackalope
Re: Changing permissions on external drive

I usually do
Code:
sudo chmod 777 -R /media/disk
I'm sure that's not the most secure way to do it, but I don't want permissions being screwy between all the different PCs that I use so it works best for me.
__________________
“We cannot defend freedom abroad by deserting it at home.”
-Thomas Jefferson
47_MasoN_47 is offline   Reply With Quote
Old September 9th, 2008   #5
baudday
Way Too Much Ubuntu
 
baudday's Avatar
 
Join Date: Feb 2008
Beans: 244
Re: Changing permissions on external drive

That doesn't give an error or anything, so I assume that means it worked. But when I view the permissions I still get only the user able to read and write and everyone else can only view
__________________
http://ourserver.wordpress.com
baudday is offline   Reply With Quote
Old September 9th, 2008   #6
47_MasoN_47
A Carafe of Ubuntu
 
47_MasoN_47's Avatar
 
Join Date: Jan 2008
Location: North Alabama
Beans: 110
Ubuntu 9.04 Jaunty Jackalope
Re: Changing permissions on external drive

Something I should have asked first, is the drive formatted in EXT3?
__________________
“We cannot defend freedom abroad by deserting it at home.”
-Thomas Jefferson
47_MasoN_47 is offline   Reply With Quote
Old September 9th, 2008   #7
baudday
Way Too Much Ubuntu
 
baudday's Avatar
 
Join Date: Feb 2008
Beans: 244
Re: Changing permissions on external drive

no it's FAT32
__________________
http://ourserver.wordpress.com
baudday is offline   Reply With Quote
Old September 9th, 2008   #8
47_MasoN_47
A Carafe of Ubuntu
 
47_MasoN_47's Avatar
 
Join Date: Jan 2008
Location: North Alabama
Beans: 110
Ubuntu 9.04 Jaunty Jackalope
Re: Changing permissions on external drive

Ah there's your problem. FAT32 doesn't do permissions. Format it (preferably to EXT3) and try it again. Should work like a charm.
__________________
“We cannot defend freedom abroad by deserting it at home.”
-Thomas Jefferson
47_MasoN_47 is offline   Reply With Quote
Old September 9th, 2008   #9
baudday
Way Too Much Ubuntu
 
baudday's Avatar
 
Join Date: Feb 2008
Beans: 244
Re: Changing permissions on external drive

sorry, this could be stupid, but when i open gparted and go to that drive, it won't allow me to format it. is there something i need to do first.
__________________
http://ourserver.wordpress.com
baudday is offline   Reply With Quote
Old September 9th, 2008   #10
47_MasoN_47
A Carafe of Ubuntu
 
47_MasoN_47's Avatar
 
Join Date: Jan 2008
Location: North Alabama
Beans: 110
Ubuntu 9.04 Jaunty Jackalope
Re: Changing permissions on external drive

First you have to unmount it, then format it. Then unplug the drive and plug it back in is the easiest way. It should come up 1TB media on the desktop and then you should be able to chmod or chown it.
__________________
“We cannot defend freedom abroad by deserting it at home.”
-Thomas Jefferson
47_MasoN_47 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:52 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry