What about settings windows to view hidden files and system files. Do
they show up then?
Jason Waters
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Greene, Joe
Sent: Wednesday, May 21, 2008 8:42 AM
To: [email protected]
Subject: RE: [Samba] Existing files don't show up in share, new files do
His directory is already 777 and the 500 is the UID of pepijn on the
serve unless I miss my guess. I also had him check all permissions on
the directories above it to make sure they were at least 755 and they
were.
BTW Pepijn, you might want o make sure that your userid is the same on
all of your linux boxes.. just check /etc/passwd to make sure username
Pepijn is userid 500, then on any system you have to change it, I
recommend running (as root) 'find / -user <olduid> -exec chown 500 {}
\;'
This may or may not have any affect on this problem. also check the
usermapping, maybe there is something there.
Joe Greene
UNIX Systems Administrator
Phone 317-707-2730
Fax 317-707-2397
Hours M-F 7am-4pm
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Jason Waters
Sent: Wednesday, May 21, 2008 8:09 AM
To: [email protected]
Subject: RE: [Samba] Existing files don't show up in share, new files do
Let's see if it's permissions(which is what I think it is). chmod 777 *
in that directory and then see if it works. Then we can figure out what
went on. The uid of 500 of the new file seems strange.
Jason Waters
From: Pepijn Schmitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 21, 2008 7:56 AM
To: Jason Waters
Cc: [email protected]
Subject: Re: [Samba] Existing files don't show up in share, new files do
Jason Waters wrote:
What parameters are set on the share? Anything like map system, map
hidden?
This is the share definition:
[multimedia]
comment = Multimedia Files
path = /mnt/data/multimedia
public = yes
writable = yes
printable = no
write list = pepijn
So no map system or map hidden. I should also note that neither the
share
definition nor the contents of the directory have changed. The only
thing
that happened was that the server, which used to be my router and
firewall
also, is now only a file server and no longer has a static IP address.
Are you using ACL's?
I don't think so. How can I tell?
What about giving us an ls -l of a
directory that isn't showing files.
Here's the ouput of ls -al on /mnt/data/multimedia:
total 2260
drwxrwxrwx 11 pepijn pepijn 4096 2008-05-17 14:13 .
drwxr-xr-x 10 root root 4096 2008-05-16 19:58 ..
drwxr-xr-x 6 pepijn pepijn 4096 2008-05-17 14:16 Audio
-rw-rw-r-- 1 pepijn pepijn 468919 2004-09-18 08:40
DIRK_GENTLY'S_HOLISTIC_DETECTIVE_AGENCY.TXT
lrwxrwxrwx 1 pepijn pepijn 6 2005-01-17 22:13 Fotos -> Foto's
drwxrwxr-x 41 pepijn pepijn 4096 2008-03-15 23:27 Foto's
-rw-rw-r-- 1 pepijn pepijn 292097 2004-09-18 08:40
HITCHHIKER'S_GUIDE_TO_THE_GALAXY.TXT
-rw-rw-r-- 1 pepijn pepijn 396618 2004-09-18 08:40
LAST_CHANCE_TO_SEE.TXT
drwxrwxr-x 4 pepijn pepijn 4096 2002-07-01 02:32 Martijn
-rw-rw-r-- 1 pepijn pepijn 372140 2004-09-18 08:40 MOSTLY_HARMLESS.TXT
drwxrwxr-x 2 pepijn pepijn 4096 2002-03-31 04:48 recycled
-rw-rw-r-- 1 pepijn pepijn 333862 2004-09-18 08:40
RESTAURANT_END_OF_THE_UNIVERSE.TXT
-rw-rw-r-- 1 pepijn pepijn 296645 2004-09-18 08:40 STARSHIP_TITANIC.TXT
drwxrwxr-x 2 pepijn pepijn 4096 2004-11-28 17:00 temp
-rwxr--r-- 1 pepijn pepijn 5 2008-05-17 14:13 test2.txt
-rwxr--r-- 1 pepijn pepijn 6 2008-05-17 14:08 test.txt
drwx------ 4 pepijn pepijn 4096 2005-07-02 16:17 .Trash-500
drwx------ 2 pepijn pepijn 4096 2005-04-02 13:54 .Trash-pepijn
drwxrwxr-x 10 pepijn pepijn 4096 2008-03-15 23:31 Video
-r-xr--r-- 1 pepijn pepijn 80 2005-07-10 19:07 volumeid.zbx
drwxr-xr-x 4 pepijn pepijn 4096 2007-12-07 22:15 XXX
-rw-rw-r-- 1 pepijn pepijn 24247 2004-09-18 08:40
YOUNG_ZAPHOD_PLAYS_IT_SAFE.TXT
When I mount the share on another Linux system using this command:
sudo mount -t cifs -o user=pepijn //10.0.0.163/multimedia roadrunner/
And then perform an ls -al in the roadrunner directory the output is as
follows:
total 2052
drwxrwxrwx 11 500 500 0 2008-05-17 14:13 .
drwxr-xr-x 22 pepijn pepijn 4096 2008-05-21 13:50 ..
-rwxr--r-- 1 500 500 5 2008-05-17 14:13 test2.txt
-rwxr--r-- 1 500 500 6 2008-05-17 14:08 test.txt
As you can see it only show the two test files I created since this
problem started.
Is it just files or does it happen to
folders too.
It happens with both.
Kind regards,
Pepijn Schmitz
Jason Waters
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Pepijn Schmitz
Sent: Wednesday, May 21, 2008 7:38 AM
To: [email protected]
Subject: Re: [Samba] Existing files don't show up in share, new files do
*Bump*
Does this ring a bell with anyone? I'm still at a loss and so it seems
is everyone else... :-)
In short: on one of my existing Samba 3.0 shares (Linux server, ext3
filesystem) all existing files have suddenly become invisible, but it is
still possible to create, modify and delete new files (and I see no
differences between these new files and the existing ones). This happens
with Windows XP, Windows Vista, Linux CIFS and Linux smclient clients,
so it is likely to be a server problem. I'm stuck and I'm hoping a
bright mind from this list will be able to help!
Kind regards,
Pepijn Schmitz