Roland0 wrote: 
> What does getfacl / getfacl output for a folder / a file ?
> 

Here are the facl outputs on the /mediaserver/NAS

Code:
--------------------
    
  # getfacl /mediaserver/NAS
  getfacl: Removing leading '/' from absolute path names
  # file: mediaserver/NAS
  # owner: squeezeboxserver
  # group: squeezeboxserver
  user::rwx
  group::---
  other::rwx
  
--------------------




Code:
--------------------
    
  # getfacl --default /mediaserver/NAS
  getfacl: Removing leading '/' from absolute path names
  # file: mediaserver/NAS
  # owner: squeezeboxserver
  # group: squeezeboxserver
  
--------------------



I note that default is now gone from the result.


Roland0 wrote: 
> 
> As a last resort, try the nounix option in fstab.
> 

I added it, and still cannot read.

Roland0 wrote: 
> 
> After that, enable additional tracing:
> echo 1 > /proc/fs/cifs/cifsFYI
> echo 1 > /proc/fs/cifs/traceSMB
> 
> remount, try to read a file, then check the system logs and
> /proc/fs/cifs/DebugData for relevant messages
> 

That's what I get, but I am not certain what information is good in
there.

Code:
--------------------
    
  Number of credits: 50 Dialect 0x0
  1) Name: 192.168.0.104  Domain: WORKGROUP Uses: 1 OS: Unix
  NOS: Samba 3.0.23a      Capability: 0x8080f3fd
  SMB session status: 1   TCP status: 1
  Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
  Shares:
  0) IPC: \\192.168.0.104\IPC$ Mounts: 1 Type:  DevInfo: 0x0 Attributes: 0x0
  PathComponentMax: 0 Status: 1 type: 0
  
  1) \\192.168.0.104\media Mounts: 1 Type: NTFS DevInfo: 0x0 Attributes: 0xb
  PathComponentMax: 255 Status: 1 type: 0
  
--------------------


Roland0 wrote: 
> 
> If this doesn't tell you anything, 
>  
which it does... :(
Roland0 wrote: 
> unmount the share and mount it manually (as root):
> mount -t cifs //server/share /mnt --verbose -o <options from fstab>
> 
> and again try to read a file, then check the system logs and
> /proc/fs/cifs/DebugData for relevant messages

When I mount manually using root, this is what I get straight away as an
answer

Code:
--------------------
    
  mount.cifs kernel mount options: 
ip=192.168.0.104,unc=\\192.168.0.104\iTunes,vers=1.0,noacl,noperm,nounix,user=,pass=********
  
--------------------


and after trying to read a file, here's what I get in
/proc/fs/cifs/DebugData 


Code:
--------------------
    
  
  1) Name: 192.168.0.104  Domain: WORKGROUP Uses: 1 OS: Unix
  NOS: Samba 3.0.23a      Capability: 0x8080f3fd
  SMB session status: 1   TCP status: 1
  Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
  Shares:
  0) IPC: \\192.168.0.104\IPC$ Mounts: 1 Type:  DevInfo: 0x0 Attributes: 0x0
  PathComponentMax: 0 Status: 1 type: 0
  
  1) \\192.168.0.104\media Mounts: 1 Type: NTFS DevInfo: 0x0 Attributes: 0xb
  PathComponentMax: 255 Status: 1 type: 0
  
  
  
--------------------


It seems to me like this doesn't give out much information, did I do
this good?

Again, I do not manage to read the file, I get an Permission Denied
error.


------------------------------------------------------------------------
Marsupial's Profile: http://forums.slimdevices.com/member.php?userid=59182
View this thread: http://forums.slimdevices.com/showthread.php?t=111080

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to