directory for virtualbox.

Asked by chris r

Summary:
Host: Ubuntu, Guest: XP with iTunes, Shared folder on Ubuntu
MP3 files in Shared Folder visible from Ubuntu but not from XP.
Folders, which hold MAP3 files, visible both from Ubuntu and XP.
Need to change permission on folder to see MP3 from XP.

-----------------------------------------------------------------------------------------------------------------
Original question
In virtualbox ,im running xp for the sole purpose of using itunes. Got everything working except I cannot get to my music files(cant see them through (xp-v.b) tryed to make a folder in xp (c) drive and did a search for file name and could not find. thanks .chris

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

The files are on the virtualbox image. To access them you will need to make the network device in the virtualbox be bridged so the XP system shows on your LAN. Share the folder containing your music and you can access it like a share on a physical system. You will need the system running to access the files which is a massive bloat. You would be better advised to store the music in Ubuntu and access the files in Ubuntu from the virtualbox.
If you owned a device from a more open minded company you wouldn't have any issues.

Revision history for this message
chris r (myrjon1) said :
#2

Thanks actionparsnip, that solved my question.

Revision history for this message
chris r (myrjon1) said :
#3

ok i was able to make network folders but i cannot access music files .says their empty.but i can see individual music folder,But if i go to main folder in ububtu there all there in tact..these were in mp3 format.{weird}

Revision history for this message
chris r (myrjon1) said :
#4

ok i think i found a answer.every music file i put into a specific shared folder still needs access to files through permissions. is there a way out of this or do i have to change permissions on all my music ?

Revision history for this message
delance (olivier-delance) said :
#5

Do you use Samba (shared folder in Windows) or a Virtual Box folder (shared folder in Ubuntu) ?

Revision history for this message
chris r (myrjon1) said :
#6

ok i windows drive w/2 partitions c+sys and d =stuff music and pics. when I make a folder on Ubuntu's desktop and add music to folder the only Way it shows up with music is if i set permissions to every music folder.

Revision history for this message
delance (olivier-delance) said :
#7

Could you answer clearly my question ?

Revision history for this message
chris r (myrjon1) said :
#8

sorry (shared folder in Ubuntu)

Revision history for this message
delance (olivier-delance) said :
#9

I presume that when you copy files from external media, they don't have right properties (owner or right access).
To change owner do:
   sudo chown -R chris:chris folder_name
R for recursive (apply on all files of folder)
I presume chris is your login name.
To change read/write right
   sudo chmod -R u+rw folder_name
For folder you could have to add
   sudo chmod u+x folder name.

Could you add some files in your folder and then post result of command:
   ls -al new_folder_name
   ls -ld new_folder_name

Revision history for this message
chris r (myrjon1) said :
#10

ok when i add folders of music to download file in linux(the folder is showing empty files).And this is after i set above permissions.

Revision history for this message
delance (olivier-delance) said :
#11

Could you add some files in your folder and then post result of command:
   ls -al new_folder_name
   ls -ld new_folder_name

Revision history for this message
chris r (myrjon1) said :
#12

On 12/13/2010 02:41 PM, delance wrote:
> ls -al new_folder_name
> ls -ld new_folder_name
>
chris@chris-HP ~ $ ls -al new /home/chris/Downloads
ls: cannot access new: No such file or directory
/home/chris/Downloads:
total 142920
drwxrwxrwx 5 chris chris 4096 2010-12-12 19:49 .
drwxr-xr-x 52 chris chris 4096 2010-12-13 16:42 ..
-rw------- 1 chris chris 8657201 2010-11-13 07:00 Christina Perri -
Jar Of Hearts.m4a
-rw------- 1 chris chris 8657201 2010-11-13 07:00 Christina Perri -
Jar Of Hearts.mp3
drwxr-xr-x 3 chris chris 4096 2010-12-12 19:18 Quarterflash-3
Albums [FLAC]
drwxr-xr-x 3 chris chris 4096 2010-12-12 18:36 Quarterflash -
Harden My Heart-Best Of [1982][1997]
-rw-r--r-- 1 chris chris 128991236 2010-12-12 19:22
Quarterflash_-_Walking_On_Ice_(2nafish).mpg.part
drwxr-xr-x 24 chris chris 4096 2010-12-12 18:10 Rush

chris@chris-HP ~ $ ls -ld new /home/chris/Downloads
ls: cannot access new: No such file or directory
drwxrwxrwx 5 chris chris 4096 2010-12-12 19:49 /home/chris/Downloads

Revision history for this message
delance (olivier-delance) said :
#13

All files and folders in /home/chris/Downloads have both right owner and permissions.
Did you update permissions before running commands ?
Were you able to see those files from XP ?

Also could you check the accuracy the summary I did.

Revision history for this message
delance (olivier-delance) said :
#14

All files and folders in /home/chris/Downloads have both right owner and permissions.
Did you update permissions before running commands ?
Were you able to see those files from XP ?

Also could you check the accuracy the summary I did.

Can you help with this problem?

Provide an answer of your own, or ask chris r for more information if necessary.

To post a message you must log in.