Buffalo Forums

Products => Storage => Topic started by: woebking on April 30, 2010, 04:29:16 AM

Title: SFTP Bug ? - Sharing Folder via Group or User
Post by: woebking on April 30, 2010, 04:29:16 AM
   

I have a LinkStation Duo (LS-WX2.0TL/R1-EU), Firmware 1.24, with SFTP enabled, 12 users in 3 groups an 3 shared folder (one for each group).

 

If a user in a group has a share, he won't see them via SFTP, only the default folders .midbeans and .hierophant.

If the same user has his rights permited directly (not via a group), everything is fine, and he see his folders...

 

SMB works in both ways.

 

Bug or feature ?

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: clfischer on June 11, 2010, 07:40:02 AM

Bug I think. Same with the Terastation III. I'm using firmware version 1.20. There is a newer version 1.30 which I haven't tried yet because I'm not able to easily get on the same subnet as the NAS :(

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: clfischer on August 09, 2010, 08:02:20 AM

Still not fixed in firmware 1.32 on the Terastation.

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: Dustrega on August 09, 2010, 06:18:48 PM

Group rights definition takes precedent over individual user rights.  Basically, it might be a little backwards but if that user needs unique permissions I estimate that they would not belong to a generalized group in that case.

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: clfischer on August 10, 2010, 05:50:24 AM

Maybe I wasn't clear or perhaps I misunderstood the original post so let me explain again.

 

There are 20 users, 10 are in 'groupA', 10 are in 'groupB'. I create two folders 'folderA' and 'folderB' and I set the permissions so that 'groupA' is allowed access to 'folderA' and 'groupB' is allowed to access 'folderB'. Now all users can successfully access their respective folders via SMB but NOT via SFTP. SFTP appears to completely ignore the group permissions and the only way to allow users to access their group folders via SFTP is to explicitly allow access to each user individually.

 

In other words SMB uses groups as you would expect, but SFTP ignores them.

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: Dustrega on August 12, 2010, 01:47:31 PM

Thanks for the clarification.  I'll look into it.

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: Dustrega on August 12, 2010, 05:59:15 PM

One of our associates is looking into this issue further.  Might be a firmware bug.  We'll hopefully know the exact answer soon.

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: CaptainBJones on October 05, 2010, 06:18:43 PM
Just wondering if any progress has been made on this issue. I have a TeraStation (TS-X4.0TL/R5) that I just updated to the 1.41 firmware hoping it would fix the issue, but it does not. It still exhibits the same behavior described above (smb group access is okay, sftp requires explicitly assigning user to folders) Thanks
Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: eurospoofer on October 07, 2010, 02:09:05 PM

Thanks guys, you've solved the problem of where my shared folder was. :smileyhappy:

 

I've just been setting up a new ls-wxl and have found a couple of strange behaviours with groups.

 

Until now, I only used groups for access and added members to groups to grant them access.

 

Initially I set up one share with two groups, one read only, the other read/write.  Placing a user in both groups, they took on the lowest

rights granted over both groups, read only.  Bit odd as, in my experience, most acl systems work the other way, granting the greatest privileges.  but not a bug really.

So, I removed the user from the read only group, dropped all connections and re connected, expecting write access,

but still read only!  I deleted the read only group and re-created it, and the user got write access.  sniffs of a bug.

 

This was over SMB access btw.

Thought these kind of things might be helpful in locating the problem.

 

Thanks

 

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: eurospoofer on October 07, 2010, 02:25:06 PM

sorry, forgot to mention, its firmware 1.24.

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: JoshC on October 07, 2010, 11:44:32 PM

What happens when you try to connect to it via FTP?  Same result?  This issue is still being looked into.

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: CaptainBJones on October 12, 2010, 05:58:54 PM
Just tested it with standard FTP and it does not work. SFTP/FTP both allow me to see / /mnt /mnt/array1 but none of my shared folders on array1. ( do see a .accesstest file)
Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: Dustrega on October 15, 2010, 02:24:52 PM

Are the shared folders FTP enabled in the Shared Folder Support section of the individual folder settings?

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: fmfc on May 06, 2011, 10:12:17 AM

I have the same issue. It seems the bug is still there.

 

I am using LS-WVL, firmware upgraded to 1.41.

 

If a share folder is set permission to a local group, it will not appear if I connect using SFTP (with a user of that group). However, it will appear if using FTP.

 

If a share folder is set permission to a local user, it will appear no matter SFTP or FTP is used.

 

And I did check the FTP/SFTP Support settings in Folder Setup Tab of WebAdmin UI.

 

The SFTP client I use is WinSCP, version 4.29 running on Windows Vista.

 

 

 

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: clfischer on July 22, 2011, 12:02:07 PM

Updated my Terastation III firmware to 1.54. Still can't access shares over SFTP unless the user is explicitly granted permission. In other words, group permissions are still ignored for SFTP :-(

Title: Re: SFTP Bug ? - Sharing Folder via Group or User
Post by: ktg1 on May 28, 2014, 01:49:17 PM
This is still true on a LS-QVL/E running firmware version 1.68.  Individual permissions are honored, but group permissions are not for SFTP.  FTP seems to work correctly.
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 120 (show)
Files included: 27 - 1055KB. (show)
Memory used: 735KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]