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

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old July 12th, 2007   #1
Heretic Monkey 0
First Cup of Ubuntu
 
Join Date: Jul 2007
Beans: 1
2 questions regarding file transfer/permissions

I have 2 questions regarding the file permissions on a seperate physical hdd in my system, as well as transfering files from another computer on my network.

First, i can't seem to set the "read and write" permission for my slave hdd on my computer. I can access and copy my files from my "Spare" hdd, but i can't delete them or modify them. I've tried right-clicking and setting the properties, but it says "sorry, couldn't change the permissions". I'm logged in as an admin (at least, i should be) and i don't know the sudo command to try and do it from the terminal.

Second, how can i transfer files from a windows box to my linux box if they're on the same network? I used a simple file sharing procedure to transfer files from this box (used to be windows) to the other box (still is windows) since they were on the same router, but that technique doesn't seem to work with this one. I've tried typing in "\\your-***********" in the address bar, but it can't find it. Is there a way to directly transfer files (massive file sizes) from a windows box to a linux box on the same router?

Thanx in advance for the help, and i apologize if any of these questions have been posted before. I didn't see anything in my search.
Heretic Monkey 0 is offline   Reply With Quote
Old July 12th, 2007   #2
FleetAdmiral74
Has an Ubuntu Drip
 
FleetAdmiral74's Avatar
 
Join Date: Sep 2006
Location: Washington, USA
Beans: 771
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to FleetAdmiral74 Send a message via MSN to FleetAdmiral74
Re: 2 questions regarding file transfer/permissions

There is a command, something like sudo nautilus, which will give you gui admin privs. THat might allow you to right click and change permissions, do a quick search to make sure thats the right command though.
__________________
Linux User #449430 | Ubuntu User #16232

-Member of the Unanswered Posts Team.
-Vegetarian, because its trendy!
FleetAdmiral74 is offline   Reply With Quote
Old July 12th, 2007   #3
annda
Fresh Brewed Ubuntu
 
annda's Avatar
 
Join Date: Feb 2006
Location: Berlin+Warszawa, EU
Beans: 1,365
Ubuntu Jaunty Jackalope (testing)
Re: 2 questions regarding file transfer/permissions

welcome!

i said goodbye to windows some time ago, so sorry if this advice is too sketchy. i hope you can use it anyway. the first step is to know what to look for, so here go my two cents:

Q1: is it a disk formatted under windows? i suspect NTFS file system, which is read-only under linux without special drivers. which version of ubuntu are you using? you can put it in your user profile here in the forums, so it will be easier to give you the right advice. here's a guide with screenshots for feisty:
http://www.ubuntugeek.com/widows-ntf...tu-feisty.html

Q2: to enable communication between windows and linux you need to install samba:
http://ubuntuguide.org/wiki/Ubuntu:F...haring_service

i don't use it so i can't help you more. but if you have problems you can try searching for samba. for example here:
https://help.ubuntu.com/community/
__________________
Memo to self: "Someone's teaching, why don't you get taught?" (RUN DMC)
--- registered Linux user #425843
--- registered Ubuntu user #7354
annda is offline   Reply With Quote
Old July 12th, 2007   #4
wolfen69
Day Old Decaf
 
Join Date: Dec 2004
Location: Here
Beans: 7,011
Ubuntu 9.04 Jaunty Jackalope
Re: 2 questions regarding file transfer/permissions

to answer your first question:
Code:
sudo apt-get install ntfs-3g ntfs-config
then restart.

Applications-->System Tools-->NTFS Config
wolfen69 is offline   Reply With Quote
Old July 12th, 2007   #5
bradleyd
A Carafe of Ubuntu
 
bradleyd's Avatar
 
Join Date: Oct 2006
Beans: 135
Re: 2 questions regarding file transfer/permissions

you are trying to do this in nautilus I assume. A quick way to do this is from command line type:
Code:
sudo nautilus
This will launch nautilus as root and then you should be able to change or move files on spare hdd. The correct way to do this is by changing permissions to the files and directory's. Let's say you have a directory name my_vacation_pics/. First you should see who owns this directory and what group. You can do this by typing:
Code:
ls -al /mount-point-of-spare-drive/my_vacation_pics
you should see results something like this:
Code:
ls -al my_vacation_pics/
total 8
drwxr-xr-x  2 user group 4096 2007-07-12 16:05 .
drwxr-xr-x 31 user group 4096 2007-07-12 16:05 ..
As you can see user has read, write, execute. group and other have read,execute. Of course user and group will be different. Lets change ownership of that directory to you.
Code:
sudo chown HereticMonkey.HereticMonkey /mount-point-of-spare-drive/my_vacation_pics
now when you look at the directory again:
Code:
ls -al my_vacation_pics/
total 8
drwxr-xr-x  2 HereticMonkeyr HereticMonkey 4096 2007-07-12 16:05 .
drwxr-xr-x 31 HereticMonkey HereticMonkey 4096 2007-07-12 16:05 ..
Now we need to allow read, write, and execute permission to that folder for you.
Code:
sudo chmod -R 775  /mount-point-of-spare-drive/my_vacation_pics
This will change the directory and all its contents to read, write,execute for owner and group and read,executable for other. You should be able to(as long as your are logged in as HereticMonkey)delete files or create new ones in my_vacation-pics/. You can recreate this for any of the files and directory's on the spare drive.
There are many other ways to get files off the Windows machine,I think the easiest way to transfer files from you Windows box would be to share a folder on your Windows box and make it accessible to Everyone. Put all of your files you would like to transfer over to Linux machine, and use samba to browse share.(you can do this from Places ->Network menu if you are using Gnome)Then drag and drop. you can download putty and scp for Windows and secure transfer files to the Linux machine.
Good luck,
Brad
bradleyd is offline   Reply With Quote
Old July 12th, 2007   #6
lbelloq
A Carafe of Ubuntu
 
lbelloq's Avatar
 
Join Date: Jul 2007
Location: Talcahuano, Chile
Beans: 124
Ubuntu 9.04 Jaunty Jackalope
Re: 2 questions regarding file transfer/permissions

1. Press Alt-F2. That'll open a window. Type "gksudo nautilus" and press ENTER. Type your account's password if asked. That will show you a file browser window with root privileges.
2. From the Run dialog of your Windows box type "\\[ip]\shared_folder" and press ENTER. It will ask for a username and password. Provide them and you're ready. Remember that you'll have to config Samba in your Linux box and open the appropiate ports in your firewall.
__________________
Coming soon, please be patient.
In the meantime, check my blog (Spanish reading LOL)
lbelloq is offline   Reply With Quote
Old July 12th, 2007   #7
Nezing
A Carafe of Ubuntu
 
Nezing's Avatar
 
Join Date: May 2007
Location: UK
Beans: 113
Hardy Heron (Ubuntu Development)
Re: 2 questions regarding file transfer/permissions

Annda,I have been trying for weeks to write to my Seagate external drive,which is formatted to ntfs.I clicked on the link-page you gave,where it says writing to ntfs under Ubuntu.Once again,I get permission denied.I have tried many,many options on the forum,given by lots of helpful members,such as yourself,and all to no avail.People keep informing me that it is a bug in Ubuntu,and will be fixed upon the release of Gutsy (October).Others have said that if my external drive was formatted to Fat 32,it would work.I will not do this,as my drive is crammed with media files,and I do not have a few "boxes" of blank dvd discs to copy everything,then format.Plus it would take forever.I am now just going to wait.

Thank you for your effort.
__________________
Ubuntu:"humanity towards others"

Last edited by Nezing; July 12th, 2007 at 05:08 PM.. Reason: ntfs-3g seems to be the problem,in Ubuntu,at the moment?
Nezing 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 10:41 PM.


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