Unable to change any Share Folder access control settings

Windows Access Rights Management
DarylO
First post
Posts: 1
Joined: Wed Nov 11, 2009 2:40 am

Unable to change any Share Folder access control settings

Post by DarylO »

Hi There,

For some reason I am unable to change any access control settings on my shared folders.
The web interface works fin and allows me to clear / check the boxes but when I click save then open it back up again it's always back to the way it was before I made any changes.

There are no errors or anything. Has anyone else encountered this?

TS-439 Pro on 3.12 firmware
dinon
New here
Posts: 5
Joined: Wed Dec 23, 2009 11:26 pm

Re: Unable to change any Share Folder access control settings

Post by dinon »

HI,
:cry:


I am having exactly the same issues.
I added second disk (singled disk volume) to TS-210 (fw:3.1.2 Build 1014T)
I am able to create the share but access rights are set to no users / groups - no matter what is selected in web admin.

Please help !

Regards,
DiNo
Warnberg
New here
Posts: 4
Joined: Wed Jan 13, 2010 5:15 am

Re: Unable to change any Share Folder access control settings

Post by Warnberg »

Yes, I have the same error on my TS-209.
ekvals
Starting out
Posts: 16
Joined: Fri Jan 15, 2010 5:51 am

Re: Unable to change any Share Folder access control settings

Post by ekvals »

Same here on the 119 nas, with 3.1.2 firmware.

Im able to create new folders, but i can not alter the access settings, and are therefore not able to accexx them from my pc.....



Thats a major bug if you ask me...
bc103
New here
Posts: 5
Joined: Fri Dec 18, 2009 2:01 am

Re: Unable to change any Share Folder access control settings

Post by bc103 »

Will we see a solution for this problem. I have a 219P running 3.1.1
ewokone
First post
Posts: 1
Joined: Mon Jan 25, 2010 4:50 am

Re: Unable to change any Share Folder access control settings

Post by ewokone »

Same problem on TS-219P, firmaware ver. 3.1.2, 2 HD 2T each one.
Someone of QNAP can solve?
QNAP is a share box...if not sharing it's useless!!!!!
dbiagini
New here
Posts: 3
Joined: Wed Jan 27, 2010 9:37 am

Re: Unable to change any Share Folder access control settings

Post by dbiagini »

I had an issue where some sub-folders in a share were not providing the expected user access. I SSH'd in and looked at the linux permissions, seems some of my folders had the wrong permissions. For example, only the "Bob Marley.." folder was working properly The other folders were missing "write" permissions, and would not allow any user other than admin to write to the directory.

[/share/Qmultimedia] # cd Music/
[/share/Qmultimedia/Music] # ll
drwxrwxrwx 90 admin administ 4.0k Jan 26 21:35 ./
drwxrwxrwx 5 admin administ 4.0k Jan 21 03:00 ../
drwxrwxr-x 7 admin administ 4.0k Jan 26 20:27 Alice In Chains/
drwxr-xr-x 5 admin administ 4.0k Jan 21 03:00 Audioslave/
drwxr-xr-x 5 admin administ 4.0k Jan 21 03:00 Beck/
drwxr-xr-x 3 admin administ 4.0k Jan 21 03:00 Ben Harper/
drwxrwxrwx 15 stan everyone 4.0k Jan 26 21:31 Bob Marley & The Wailers/

I fixed this by using a qnap script called "set_volume_mode", found in the /sbin directory.

[/] # sbin/set_volume_mode Qmultimedia
Volume: Qmultimedia
Path: /share/HDA_DATA/Qmultimedia
Set directory mode to 777 and file mode to 666

I found this solution here: http://forum.qnap.com/viewtopic.php?f=1 ... 2&start=35
bc103
New here
Posts: 5
Joined: Fri Dec 18, 2009 2:01 am

Re: Unable to change any Share Folder access control settings

Post by bc103 »

I got the help from Steve at Qnap support to fix my problem. There was a problem with a corrupt smb.conf file. I don't know how it got corrupt but he fixed my problem very fast. Report the problem to the support and you will get help.
User avatar
trejder
Know my way around
Posts: 184
Joined: Fri Jan 07, 2011 5:13 am

[Solved]Unable to change any Share Folder access control set

Post by trejder »

Hi there,

If possible "smb.conf" file corruption could be the problem's source then the best way is to try to do something with it.

However, if you connect to your QNAP with SSH (for example using PuTTY - need to login as admin!) and use "find -name smb.conf", you will find several files with this name. At QNAP TS-210 "/etc/smb.conf" seems to be right one, which turns out to be symbolic link to /mnt/HDA_ROOT/.config/smb.conf.

The easiest way is to delete (or better - rename) this file ("mv smb.conf smb.conf_old"), create an empty file in its place ("touch smb.conf") and then make use of an option Access Right Management > Share Folders > Restore Default Network Shares to recreate new "smb.conf" in place of corrupted one. But this fails most of the time.

You can then try to overwrite corrupted "smb.conf" file with the original one. WinSCP 4.29 seems to be good idea for copying files between your computer and QNAP.

Along with this post I'm attaching a copy of original, unmodified "smb.conf" file. Overwrite with it your own, corrupted "/mnt/HDA_ROOT/.config/smb.conf" file and all your problems with being unable to change any Share Folder access control settings should be gone. All you need to do, is to recreate all shares and permissions. Sometimes this could be a long walk, but it is still better then not being able to change any shares any more.
smb.zip
A good question is, what could cause corruption of "smb.conf" file? If I'm not mistaken, I can recall that whole thing broke, when I tried to hide "QDownload" share (I don't like the whole "g-in-share-names" idea) and create new one, called "Download" that would point not to own share, but to "QDownload". In other words, I was trying to create an alias. And if I'm not mistaken, starting from this point I was unable to set new permissions. So, probably doing such naughty things is prohibited here! ;]
You do not have the required permissions to view the files attached to this post.
QNAP TS-210 with:
- RAID 0 Stripping Disk Volume using 2x2TB HDD (Samsung HD204UI),
- plus 1,5TB Ext USB HDD (Samsung HD154UI),
- and 0,75TB Ext USB HDD (WD MyPassport).
Latest firmware installed.
condivi
First post
Posts: 1
Joined: Tue May 24, 2011 2:59 pm

Re: Unable to change any Share Folder access control setting

Post by condivi »

Hey All,

I had this same issue I couldn't change permissions. I fixed it buy using winscp to log into the ts-109 pro II Nas:

i browsed to ETC folder
there you will see "smb.conf"
first take a copy of the file to your computer just to be safe.
Then you can edit that file. (right click on it in winscp and select edit)

scroll down and find the share you want to edit it for me [USBDisk1] is this share and the line write list = @"everyone",guest,@"administrators" grantes full access to that share.


[USBDisk1]
comment = USB storage share
path = /share/external/sdi
browsable = yes
public = yes
invalid users =
read list = @everyone
write list = @"everyone",guest,@"administrators"
valid users =
inherit permissions = yes
map hidden = no

Hope this helps someone I spent 3 hours on this stupid bug

Cheers,
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Unable to change any Share Folder access control setting

Post by schumaku »

A typical cause of failures in applying configuratioon changes (i.e. smb.conf, uLinux.conf, ...) is in ram disk full issues, typically caused by outdated QPKG or other third party software.

Newer NAS firmware does check this error situation, and is leaving a message in the system log.
manburg6
New here
Posts: 8
Joined: Wed May 05, 2010 7:15 pm
Location: Italy

Re: Unable to change any Share Folder access control setting

Post by manburg6 »

Hello,

I've same issues with a TS210 turbo NAS and 3.5.0 Build 0816T.

I can't change new folder permission by NAS administration panel.

I've to connect with telnet and change smb.conf manually.

Someona have an idea on how to solve the issue? Now the folder has the right parameters but it is a little bit tricky to do for each folder.

Thanks,
Mario
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Unable to change any Share Folder access control setting

Post by schumaku »

Any indication in the logs?

What exactly do you see and experience when using the Admin Web UI to change the permissions?
manburg6
New here
Posts: 8
Joined: Wed May 05, 2010 7:15 pm
Location: Italy

Re: Unable to change any Share Folder access control setting

Post by manburg6 »

In the log I can see the notification of permission change: user has changed permission to folder "folder name" (something like this).

In Admin Web GUI I've added user group and set check box as I need.
Then I click on apply... after few second the UI reload with non user group setted.

Same thing when I try to set guest access using drop down menu in lower part of UI.

I've asked to QNAP and they suggest me to reinstall firmware. They suggest me to click apply too... so I don't believe too much in this solution. I will try later when I'll be back home.

Thnaks,
Mario
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Unable to change any Share Folder access control setting

Post by schumaku »

Are the Advanced Folder Permissions (ACL) active?
Post Reply

Return to “Windows”