Buffalo Forums

Products => Storage => Topic started by: lessger on July 31, 2013, 08:25:42 AM

Title: Inaccessible subfolder on Linkstation Duo
Post by: lessger on July 31, 2013, 08:25:42 AM
Hi,

I have a Linkstation whith a shared folder, no access restrictions set, which I use from Windows. There is one sub folder (2 levels down) which is visible, but can not be opened (access denied). I can not change the access rights of the folder from Windows.

I have checked the folder in question using ftp to the Linkstation directly. The folder is owned by root (like all the other folders around) and has permission "drwx-w--w-". Other folders (which are accessible) around have permission "drwxrwxrwx".

Is there a way to change directory permissions using ftp or the WebAdmin interface?

I have several copies of the  directory (on USB disks and on a second Linkstation) but they have all the same problem.

Thanks
Gerhard

Linkstation LS-WVL Firmware 1.62 and LS-WXL Firmware 1.62. Windows 7.
Title: Re: Inaccessible subfolder on Linkstation Duo
Post by: TheSidewinder on July 31, 2013, 11:50:55 AM
It may depend on the FTP client you use, but with Filezilla you just right-click the directory in question and one of the popup menu choices is the permissions.

The folder you say isn't working has permissions set to 0722 (drwx-w--w-) which is unusual.

The "other folders" which you mentioned are working, have 0777 permissions (drwxrwxrwx).

If you are able to, set that bad directory to 0777 permissions.

Does that fix the problem?
Title: Re: Inaccessible subfolder on Linkstation Duo
Post by: lessger on August 02, 2013, 07:21:31 AM
Thank you for your reply. Unfortunately, it did not work.

I was using the FTP client included in Win7 (command-window style). CHMOD wasn't accepted as command.

I got FileZilla and tried again. I can see the directory in question, but I can not open it. I can not change its permissions either (550: CHMOD 777 ... permission denied). Suprisingly, I could RENAME the directory (well, that's probably the "w"-access).

I have noticed temporarily inaccessible folders before, but I was suspecting that this was because of a running backup. They were accessible again next day. I did then not check the permissions. The one now inaccessible folder has been inaccessible for two weeks now.

I am now considering the following approach: attach a WIN readable disk (I don't have a Linux system) to the USB port. Write a backup of the top level directory to the disk. Connect the disk directly to my WIN PC. Change the directory permissions using Windows admin rights. Connect the USB disk back to the Linkstation. Restore the directory tree from the USB disk.

Does this sound like a reasonable approach?

Gerhard
Title: Re: Inaccessible subfolder on Linkstation Duo
Post by: davo on August 02, 2013, 11:18:23 AM
Doubtful, since the Linkstations file system is XFS, Windows wont be able to read the HDD let alone allow you to change permissions.
Title: Re: Inaccessible subfolder on Linkstation Duo
Post by: lessger on August 03, 2013, 06:23:22 AM
According to the Linkstation manual, a USB drive could optionally be formatted FAT32. NTFS, too, but that is read-only on the Link Station and would not help me. FAT32 is read/write for LinkStation and PC (all according to documentation, I haven't tried). FAT32 has a 4GB file size limit, but I do not think I have any bigger files.

I should be able to connect a FAT32 disk to a PC directly? I have no clue whether the permissions are compatible between Windows and Linux.

I am just worried, when I restore from the USB, I could create an even bigger permission problem. I haven't found a way to selectively restore a single directory of the LinkStation, so I'd have to restore everything. From past experience, that takes over a day. But my biggest worry is, I could create more inaccessible directories in this process...

Gerhard
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: 65 (show)
Files included: 27 - 1055KB. (show)
Memory used: 737KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]