NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Kojak1
May 08, 2014Aspirant
Mac Access as Admin
Hi,
I am getting a Mac next week, and a little unsure of the big wide world of Mac.!
Currently on my PC, I have to connect to the files as Admin (using DOS Prompt etc) - otherwise I cant change, add, delete files, without it through up a User Access Error.
How do I connect this way, using a Mac.??
On a tangent, the above is a right pain.!
Is there a way that I can access/amend files normally - without having to connect in this way.?? It's something like Unix/Root access rights.!?!?
I am getting a Mac next week, and a little unsure of the big wide world of Mac.!
Currently on my PC, I have to connect to the files as Admin (using DOS Prompt etc) - otherwise I cant change, add, delete files, without it through up a User Access Error.
How do I connect this way, using a Mac.??
On a tangent, the above is a right pain.!
Is there a way that I can access/amend files normally - without having to connect in this way.?? It's something like Unix/Root access rights.!?!?
26 Replies
Replies have been turned off for this discussion
- Kojak1AspirantAny ideas.?
- StephenBGuru - Experienced UserWhat firmware are you running on the NAS?
- Kojak1Aspirant5.3.10
But this has been an issue (as in the file access) for ages now.
I've just lived with using it as a virtual drive 'T' in admin. - mdgm-ntgrNETGEAR Employee RetiredYou can login as admin on Mac. You may however wish to correct the ownership/permissions so you can use other users.
- Kojak1AspirantHow do I login as admin on Mac.?
And how do I change the ownership etc.?
The problem seems to be with the actual files, not the settings on the NAS.
I have been speaking to Netgear (months ago) and they couldnt ever sort it out. So I can view and open the files once logged in as my user, but cant edit or add or delete files. - xeltrosApprenticeOn a Mac you have 3 profiles : User, Admin, Root.
I know nobody having a standard user account except for parental control, so most of the time you are logged in admin. Root is mainly used for command line since you can do pretty much anything on the graphical interface with an admin account (the one you create when installing the mac is admin).
Most of what Windows does with some softwares, mac already has out of box (no daemon tools needed, no Nero, no drivers, most archives are handled (except .rar & .7z)...). This makes a Mac world way smaller and simpler than Windows' world in many ways (not necessarily better though depending on the needs and preferences), and more complex on the other if you try to run windows-only software. Just don't worry about it, you'll see OS X is not an ugly thing full of traps that will eat you when you fall asleep. It's designed to appeal to most people, and most people want things that "just work". On top of that I think Apple offers a free 30 days call support with every new mac (to be checked).
Changing rights is more about the NAS than OS X I think. However I can tell you how to change rights on the Mac, I don't know your NAS firmware, Stephen and mdgm will help you better than I would with that.
You have two ways to change rights on a mac :
=> in GUI => select a folder, and go to "get info" (right clic or cmd+i), unfold "sharing and permissions" on the bottom.
=> in terminal (cmd+shift+U in the finder) => chmod -R XYZ /PATH/TO/FOLDER where X = owner value, Y=owning group value and Z = others value, with value being the sum of (4=Read, 1= execute, 2=write) so 777 is everybody can do anything, 755 is RW for owner, read for others (execute includes the right to browse the subfolders if I have a good memory). If you have an error with insufficient privileges, do "sudo su" and type your password then try again. You will be connected as root which can do anything on your Mac (which is why you have to connect with it explicitly because it can also do harm if used badly). see this for more info
hint : OS X mounts removable disk in "/Volumes" directory.
For accessing shares, either hit cmd+k or go/connect to server in the finder and type smb://IP/Share, you should be asked for a password ; Or go in the finder (file explorer) and auto discovery should show your NAS on the left, notice the "connect as" on the top right of the window. - Kojak1AspirantThanks.
I'd be lying if I said I understood all of that, but perhaps it'll make sense when I get the Mac next week.
I have my son's windows laptop at the mo, so perhaps it's easier to try and sort this file access on there, logged on as admin.? - xeltrosApprenticeWhat didn't you understand, I have a max for more than five years and am also certified for linux, maybe there are some concepts I should have explained ?
Basic things : OS X is simple, really. Learn the shortcuts and you'll be addict. If you need admin rights OS X will ask for your password, as long as you don't explicitly create a non-admin user you will be admin, there is no "run as" menu. - Kojak1AspirantProbably the latter part, re x,y values etc.
But maybe it'll make sense when I get it.
I am proper looking forward to getting the Mac. :-) - xeltrosApprenticeOk I'll break it down.
Linux uses commands structured like that : Command_name options arguments
so chmod is the command linux/OS X uses to change folder rights, -R is an option to say recursive (apply to subfolders if you prefer), then the first number set rights for the owner, the second for owner's group and the third for everybody else.
so let's say a file is create by the user adminUser, which has for group adminGRP (every user has at least a default group, even on windows you are at least in the group "Users" and can have many more groups).
if I do chmod -R 750 /folder (yep linux/OS X don't have C:, it's "/")
this means that adminUser can read and write, that adminGRP can read including subfolders and than everybody else cannot see the files.
Linux does rights like this, you have one user, one group and everybody else, you cannot set rights for user1 and user2. So if you want a bunch of users to have rights you have to get them in a group and then set rights for that group. So most of the times in NAS they set rights on linux in a way that they don't really have to bother with them (allow everything to every one) and then they set rights per user with the sharing protocol (SMB, AFP, FTP...) which is way more flexible. Linux retains the more restrictive of the two sets of rights.
that said command line is not required unless every else fails which is unlikely to happen, I believe you can do all this from your NAS if needed in the advanced folder options.
is it clearer ?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!