Also, if you're looking at 0777 permissions, I believe those are the
wrong ones for cifs.

What does "ls -V" show you for the permissions?


On Tue, Jul 14, 2009 at 7:47 PM, Joyce McIntosh<[email protected]> wrote:
> If you can provide a binary network packet capture of a directory listing
> request from the windows client (eg dir at the command prompt, or a
> refresh in the Explorer window) that would be very helpful.
>
> Please also provide the names of some of the missing folders..
>
> Can you also check to see if the "hidden" attribute is set on the folders
> that
> you don't see, or any other attributes that differ on these folders from on
> the
> ones that you do see.
>
> What solaris build were you running before / after the backup/restore?
>
> Thanks
> Joyce
>
> Mark Shellenbaum wrote:
>>
>> Chris Murray wrote:
>>>
>>> Hello,
>>>
>>> Hopefully a quick and easy permissions problem here, but I'm stumped and
>>> quickly reached the end of my Unix knowledge.
>>>
>>> I have a ZFS filesystem called "fs/itunes" on pool "zp". In it, the
>>> "iTunes music" folder contained a load of other folders - one for each
>>> artist.
>>>
>>> During a resilver operation which was going to take a week, I decided to
>>> delete this data (amongst other things) and restore it from backup once the
>>> resilver was complete. It finished on Sunday night, so I started copying
>>> content from my Windows machine + an NTFS external disk, to
>>> "/zp/fs/itunes/iTunes music", using winscp.
>>>
>>> Now, if I browse to that folder over SMB from the Windows machine, I have
>>> a subset of all of the artist names, and I can't identify exactly why some
>>> are there and others aren't. I'm accessing it using the "sharesmb=on"
>>> option, and user "chris".
>>>
>>> So:
>>> * "\\mammoth\itunes\iTunes music" contains *some* folders.
>>> * If I winscp using user "chris" and browse to the same folder,
>>> everything is there.
>>> * Inspecting the properties on a folder that is visible, I see that it
>>> has group "staff", owner "chris", and permissions "0777".
>>> * A one that is visible in winscp but NOT through Windows has the same
>>> ... ?!
>>>
>>> I'm not sure what I've done here, but clearly there's something I don't
>>> understand about permissions. If I try to create one of the missing folders
>>> through Windows, I'm told "Cannot rename New Folder: A file with the name
>>> you specified already exists. Specify a different file name.", so they
>>> appear to be hidden from view in some way.
>>>
>>> Thanks in advance,
>>> Chris
>>
>> This is better asked on [email protected]
>>
>> The first thing they will ask you to do is to run
>>
>> http://opensolaris.org/os/project/cifs-server/files/cifs-gendiag
>>
>>
>> -Mark
>> _______________________________________________
>> cifs-discuss mailing list
>> [email protected]
>> http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
>
> _______________________________________________
> cifs-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
>
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to