LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-10-2005, 10:10 AM   #1
brucen
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
"disappearing" files....


Hi all

I have this strange problem, well it is strange to me anyway. I have a linux server where I store all the files I want to be available from anywhere on my little network. These are stored in my home dir. Under home there are 2 sub dirs. Now originally the files in the sub dir's were owned by root but were still "visible" from SMB clients or Thunderbird. Oh, these files are the data files for Thunderbird and TB could write to them, no problems. Anyway, I could not compact them from within TB since I went to a full Linux network and used TB under linux. So I changed the owner/group to me (chown -R brucen.brucen *) and that's when things went haywire. Now nobody but root can see them. Any SMB clients and TB now cannot see anything, just like they don't exist at all. Even changing ownership back to root didn't help. I think I have made a real mess of things and now don't know how to fix it.

So, what have I done wrong and how can I fix it? Any help would be really appreciated as I would like to see my mail from TB on my client box again.

Thanks in advance

Cheers
Bruce
 
Old 06-10-2005, 10:59 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Any reason why you are putting all the files you want to share in YOUR home directory? The purpose of a home directory is that only that specific user can view the contents of the directory.

I would suggest creating another directory to put all your sharable files in. I use /export/samba/files. Everything in there is owned by the user 'nobody'. You are sharing these files via samba right?
 
Old 06-10-2005, 11:01 PM   #3
brucen
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Original Poster
Rep: Reputation: 0
By share I meant that these files are available to me, no matter which machine I use. Think of it like My Documents on Windows except they are on a server instead of the local machine. My server has been around for 2 years and my desktops have been through Win 2K, Win XP, Redhat, Mandrake and finally Suse - and my files have been avaiable all along.

However, this is the first time that I have screwed aroudn with them and stuffed things up so I can't see them.

Anyone else got any ideas how to fix my problem?

Cheers
Bruce
 
Old 06-10-2005, 11:33 PM   #4
brucen
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Fixed it!

Read up on chmod (http://catcode.com/teachmod/) and saw that I did not have execute permission on the dir's, which the experienced will know that x on a dir gives permission to search that dir. So I did chmod -R 766 * on the contents of the my home/ dir and bingo! All the files "came back".

Happily enjoying Thunderbird again!

Cheers
Bruce

Last edited by brucen; 06-10-2005 at 11:34 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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
add "Artist" and "Album Title" to mp3 files powah Linux - Software 2 04-05-2005 03:04 AM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
"ifcfg-ethx" and "network-functions" files peok Linux - Networking 12 08-13-2003 06:06 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration