Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

warrmr

macrumors regular
Original poster
Jul 7, 2010
102
0
Hi guys,

I have recently upgraded from OS 10.6 to 10.7 and am now having problems with SMB shares from my NAS box.

If I map the share in finder I get a problem where it says permission denied and the folder had a red no entry sign on the icon. But If I SSH into the NAS as either root or Admin and check the folder permissions that seem ok. I cannot map the drive as root because its an internal account and can only be used to gain access via SSH.

Code:
IB-NAS4220-B> ls -al
total 65
drwxrwxrwx  9 root        root         4096 May  9  2010 .
drwxr-xr-x  3 root        root         1024 Jul  3 22:19 ..
drwxr-s--x  3 admin       users        4096 Jul  1 08:53 admin
-rw-------  1 root        root         8192 Jul  3 22:18 aquota.group
-rw-------  1 root        root         9216 Jul  3 22:29 aquota.user
drwxrwxrwx  3 guest-share guest-share  4096 Jul  3 22:34 guest-share
drwxr-xr-x  2 root        root         4096 Jul  3 22:17 log
drwx------  2 root        root        16384 Jul 12  2007 lost+found
drwxrwxrwx  5 root        root         4096 Apr 27  2010 nfs-test
drwxrwxrwx 17 root        root         4096 Mar 31  2010 optware
drwxrwxrwx 19 root        root         4096 Jul  2 11:23 public
IB-NAS4220-B>  cd public
IB-NAS4220-B> ls -al
total 717408
drwxrwxrwx  19 root  root       4096 Jul  2 11:23 .
drwxrwxrwx   9 root  root       4096 May  9  2010 ..
-rwxrwxrwx   1 admin users        16 Aug 18  2009 .00254bb76e0c
-rwxrwxrwx   1 admin users     12292 Jul  3 22:57 .DS_Store
-rwxrwxrwx   1 admin users         0 Apr  9  2010 ._.TemporaryItems
-rwxrwxrwx   1 admin users      4096 Sep  4  2009 ._local_apps
drwxrwxrwx  11 admin users      4096 Jul  1 09:46 Downloads
drwxrwxrwx   3 admin users     12288 Aug 23  2009 KTOX Radio
drwxrwxrwx   2 admin users      8192 Jul  1 09:21 Movies
drwxrwxrwx   4 admin users      4096 Nov 14  2009 Mums_backup
drwxrwxrwx 278 admin users      8192 Apr 27 09:12 Music
drwxrwxrwx   3 admin users      4096 Aug 18  2009 Pictures
drwxrwxrwx   4 admin users      4096 Feb 23 08:27 Snowboard Addiction
drwxrwxrwx  22 admin users      4096 Jul  1 08:58 TV Shows
-rwxrwxrwx   1 admin users 733784064 Mar  8  2010 The Hurt Locker.avi
drwxrwxrwx   3 admin users      4096 Sep 15  2009 Virtual Machines
drwxrwxrwx   8 root  root       4096 Nov  3  2009 applications
drwxrwxrwx   2 root  root       4096 May  9  2010 bt_auto_load
drwxrwxrwx  14 root  root       4096 Jul 22  2010 bt_download
drwxrwxrwx   6 root  root       4096 Jul 22  2010 bt_session
drwxrwxrwx   2 root  root       4096 May  9  2010 btdownload
drwxrwxrwx   9 admin users      4096 Nov  9  2007 local_apps
drwxrwxrwx   5 admin users      4096 Jan  1  2007 mac backup
drwxrwxrwx   2 root  root       4096 Jul  2 11:23 music
IB-NAS4220-B>
But If you compare that to the screenshots of the folders in finder I am confused as to why I can't gain access.

attachment.php


attachment.php
 

Attachments

  • Screen Shot 2011-07-23 at 10.52.06.png
    Screen Shot 2011-07-23 at 10.52.06.png
    98.8 KB · Views: 2,985
  • Screen Shot 2011-07-23 at 10.52.32.png
    Screen Shot 2011-07-23 at 10.52.32.png
    64.2 KB · Views: 2,834
Any suggestions guys, is it to do with apple removing samba from lion. Someone must be able to point me in the right direction.
 
I'm having exactly the opposite problem; I've got a machine running Ubuntu Server 11.04, and the SMB share works perfectly, but I can't SSH to it; it rejects my password, even though I'm typing it correctly!

Does your NAS have a web configuration interface? Might be a clue around there regarding permissions to do with the account you're ssh'ing with.
 
I was reading about this only half an hour on an article on the net. Sadly though i can't find the original article which gave a very simple solution.

It was something to do with Apple turning off a component used in connecting to NAS drives. The article said Apple wants users to do a firmware upgrade when available from their NAS manufacturer.

In the meantime and although not the same article take a look here and try out the terminal commands in this guide and see if they work for you: CLICK HERE AND TRY THIS FIX
 
Last edited:
Yeah there are issues with NAS I have 2 mac's one is still on SL and that one can connect normally to my iOmega NAS but the one with Lion has problems connecting to my NAS I get that no entry icon to most of the folders on the NAS...... and for some it just does not display the contents inside the folders and I know content is there in those folders..... a big fail...... needless to say I am lucky that I did not upgrade my main comp to Lion.

I like some of new features in Lion but don't get the logic why break a perfectly working thing that used to work senselessly earlier.
 
Cheers for the help guys,
@ Draeconis Yes it does have a web interface but the permissions page and the Admin account has write access to all shares.

@ rcanpolat unfortunately my NAS doesn't Support AFP and the hack around didn't work

What I ended up doing was enabling NFS and mounting the drive in terminal like so. The only problem with that is that I have had to open up the share to the 192.168.1.0/24 subnet. but shouldn't cause to much of a problem.
Code:
mkdir ~/Desktop/NAS-SHARE
sudo mount_nfs -P ib-nas4220-b:/mnt/md1/public ~/Desktop/NAS-PUBLIC

I was so close to buying a time capsule, and I would put a bet that since the release of lion time capsule sales have gone up.
 
I have exactly the same issue here.
The strange thing is, I can browse the folders in terminal, and also open documents in the folders that are denied in the gui.

Also, it seems it`s just directories that are denied in Finder, and not files on the root share level.

I`m pretty sure you would be able to play The Hurt Locker.avi file in the screenshot.

I could open documents on the root share folder, but not directories below.

-n
 
hi warrmr,

i have the exact same problem with ib-nas 4220 and lion. i would like to solve this issue like you did, but i don't quite understand what you mean by opening up the share to the subnet. can you guide me thru this?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.