LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2005, 09:12 PM   #1
crackery
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Trouble: mounting, linking, permissions.


Hi. I am also a newbie to linux.

I installed Ubuntu a couple of days ago, and I've been struggling to learn ever since.

I have a problem with "linking."

I have 4 HD partitions.

hda1 ( 5 GB) ---> / ---> Linux system files. (type: reiserfs)
hda6 (28 GB) ---> /local1 ---> storage: personal documents. (type: reiserfs)

hdb1 (85 GB) ---> /local2 ---> storage: multimedia files. (type: jfs)
hdb2 (31 GB) ---> /local3 ---> storage: anything else. (type: reiserfs)


The problem is that I don't seem to be able to gain access to those folders (local1, local2, local3). For example, when I try to download a file into local3 directory, an error message pops up and it says "Cannot create file. Directory /local3 is not writable."

I added my account to the group of the "root," and chmod 775 to local3. and then I was finally able to save a file in local3 directory. but I found out that the subdirectories in local3 weren't still writable. and even after I chmod 775 to the subdirectory of local3, I could not save a file in the subdirectory for some reason.

I came across all these trouble in the first place while trying to create "shortcuts" to those directories on my desktop.

is there a way? I tried the "ln -s local3 /local3" but I guess i did it wrong. it did not work.

Should I have mounted them under $home when I first installed linux, like $home/local1, $home/local2, and such?

If i want them on my desktop, should i have mounted them /desktop/local1 ... ?


please help.
 
Old 01-28-2005, 09:36 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,276

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
What does "ls -ld /local1 /local2 /local3" show? Also can you post your /etc/fstab so we can see how those partitions are mounted?
 
Old 01-28-2005, 10:03 PM   #3
crackery
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by btmiller
What does "ls -ld /local1 /local2 /local3" show? Also can you post your /etc/fstab so we can see how those partitions are mounted?
After executing that command, it shows,

drwxr-xr-x 3 root root 48 2005-01-28 16:28 /local1
drwxr-xr-x 2 root root 256 2005-01-28 14:22 /local2
drwxrwxr-x 5 root root 120 2005-01-28 18:45 /local3


by the way, an update:

somehow, I have now gained a full access to local3 and its only subdirectory: downloads.

I don't really know what triggered it. maybe rebooting? but I thought I had tried it after a reboot and still it did not work?

I am getting confused.

also, is it possible to create "shortcuts" to the local3 on my desktop?



Edit: I still can't copy/paste into local1 and local2 directories. I'll chmod 775 to them. and see what happens since I am in the group of "root." and if i'd have to reboot to have the new permissions taken effect.


Edit2: yes! it worked without rebooting!

I have no idea why I had so much trouble with this...

now I am gonna try to create shortcuts on my desktop.


Last edited by crackery; 01-28-2005 at 10:10 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Linking and Permissions, please help Belize Linux - General 6 01-06-2005 05:43 AM
g++ trouble linking against archive exitsfunnel Programming 3 01-05-2005 10:16 AM
Trouble linking with libmqueue on Linux 2.6.5 -mm illuminatedwax Programming 0 04-14-2004 08:55 AM
trouble linking with g++ WanglessOlasov Programming 5 12-28-2003 01:25 PM
Mounting permissions loganwva Linux - Networking 2 04-25-2002 05:14 PM


All times are GMT -5. The time now is 08:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration