|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix | |
ubuntu: folder sharing problems
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||
|
Audiophile
|
Basically i want to share the media hard drive on my desktop pc with my laptop, both are running ubuntu.
I have set up the sharing between the 2 sucessfully, however only for files on the hard drive that my ubuntu installation is on, seeing as how this is only 80Gb there is relativly little on here, most of my media is on...well the media drive. My problem is that because the media hard drive was formatted in windows (boo ) when it is mounted by ubuntu the permissions belong to root. Is there a way to get around sharing another user's files and folders in ubuntu, or am i going to have to log on as root to set up the sharing (which i understand can be dangerous)?Thanks, please hurry with the replies as my laptop has no music on it ![]() Boyd
__________________
Last edited by boydyboyd : 06-28-08 at 09:45 PM. Reason: Folder Sharing in ubuntu |
||||||||||||
|
|
|
|
#2 (permalink) | |||||||||||||
|
Intel Overclocker
|
you could always burn them to a CD/DVD, but i guess you would have done that if u wanted to
Otherwise if you have a Gmail account, u can just email them to yourself...As for your problem though, i'm not sure. I'm sure someone here can help...
__________________
|
|||||||||||||
|
|
|
|
|
#3 (permalink) | ||||||||||||
|
Audiophile
|
i suppose i could, but it's a 250gb drive with 60Gb of music on it, still it could be feasible...just time consuming.
__________________
|
||||||||||||
|
|
|
|
#4 (permalink) | ||||||||||||||
|
Linux Lobbyist
|
The problem with doing things in root is usually attributed to new users who don't know what they are doing, or just do something randomly, which results in having negative effects.
Things done in root, like expanding an archive under root, will make that archive belong to root. That way, you can run into some major problems doing normal things if you run as root most of the time. chmod is a pretty powerful little command for situations like this. This is a fantastic little site explaining the uses of chmod, and how to perform them. What is the output of Code:
ls -l /the/location/of/the/files Code:
chmod o+rw /home/joe/Music EDIT You may actually do it manually for each file, if it doesn't work on folders. I'd also download Ubuntu Tweak and add all of the scripts to the right click menu, that way you could "Browse as root", as well as do mnay other things, but I think Ubuntu Tweak is the most practical... On second thought, I'm pretty sure that wouldn't work over a Network Connection, but who knows. It's really a matter of a password I think. Ubuntu Tweak is great in general, I'd keep it even if it didn't work ![]()
__________________
Q6600 G0 @ 3409 4600+ Manchester @ 2809.9 Member of the LGCQuote:
Last edited by Pap3r : 06-28-08 at 10:25 PM. |
||||||||||||||
|
|
|
|
#5 (permalink) | ||||||||||||||
|
Kernel Sanders
|
Quote:
Code:
chmod o+rw /foo/bar Code:
chmod +rw /foo/bar
|
||||||||||||||
|
|
|
|
#6 (permalink) | ||||||||||||||
|
Linux Lobbyist
|
Oops! Good catch
Thanks! I'll edit that right now. FYI boyd, don't randomly go punching in codes that people give, unless you know it's correct, or it's form a reliable source. Code:
sudo ls -l /blhablha/aslkhd | grep "blah" && rm -rf /blah/blah && chmod +x EDIT Yeha, now that I think about it rabid, chmod +x gives executable permissions... lol
__________________
Q6600 G0 @ 3409 4600+ Manchester @ 2809.9 Member of the LGCQuote:
Last edited by Pap3r : 06-28-08 at 10:26 PM. |
||||||||||||||
|
|
|
|
#7 (permalink) | |||||||||||||
|
Kernel Sanders
|
To be clear
Code:
chmod o=rw
|
|||||||||||||
|
|
|
|
#8 (permalink) | ||||||||||||
|
Audiophile
|
thanks alot, you two. Reps all around.
Now i have music on my laptop, and i'm happy ![]() I also had to add a line to smb.conf but that was easy, just copy/paste from the error message i got.
__________________
|
||||||||||||
|
|
|
|
#9 (permalink) | |||||||||||||||
|
Linux Lobbyist
|
Quote:
Code:
chmod +rw /foo/bar r = read w = write x = execute ^ Just for reference EDIT Also completely off-topic, but what is the command for the perimeter for cutting? I mean, grep "blah" will show only lines with blah in them, but what is the command for cutting those at the selected points? ___ d"b" c"3" or something.. I'm having a massive brainfart.
__________________
Q6600 G0 @ 3409 4600+ Manchester @ 2809.9 Member of the LGCQuote:
|
|||||||||||||||
|
|
|
|
#10 (permalink) | ||||||||||||
|
Audiophile
|
yep, allready done [code]chmod +x ./FaH[/url] to make the folding @ home file executable. And now i know why, woohoo im learning the ways of linux!
__________________
|
||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|