help with some basic osx terminal commands. fixing permissions on NAS share


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers help with some basic osx terminal commands. fixing permissions on NAS share
# 1  
Old 01-19-2011
help with some basic osx terminal commands. fixing permissions on NAS share

I'm hoping someone here can help me. I'm computer literate but by no means an expert! I'm simply trying to recover data from my DLink DNS343 NAS mounted on my X86 iMac using SMB. Somehow, in moving to a new computer, I have lost access to some files on the NAS. Just some files are access denied.

After 6 hours of research, I think what I am supposed to do is fix the permissions on the NAS. The option to change them via the finder is not there in this case. It simply says "No Access".

So i think what i need to do sounds something like the following:
Use terminal to get root access to the SMB NAS share.
Execute chown and make me the owner of all folders and files
Execute chmod and change all files and folders to 777

Then I can hopefully access all the files and get them the heck off the thing and use an external hard drive like every other average joe who doesnt know how to work a NAS.

If anyone can help, I would appreciate it SO MUCH. The NAS currently stores all my family videos, photos, etc etc.
SmilieThanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

A means of clearing the scroll buffer in an OSX Terminal.

I was looking for a method of clearing the buffer of the vertical scroll back slider and came across this little Terminal escape snippet I had never seen before: printf "%b" "\033 SO... printf "%b" "\033c\033 Performs a terminal reset, buffer clearance, clear the window, set back to default... (0 Replies)
Discussion started by: wisecracker
0 Replies

2. OS X (Apple)

A new OSX 10.12.x terminal from the command line.

Hi guys and gals... After much searching on the good ol' internet I could find nothing, so this is the result. ALthough many people seem to have asked this question no-one seems to have a solution so here we go. I need for AudioScope.sh, 'xterm' to run a second program for some of its... (2 Replies)
Discussion started by: wisecracker
2 Replies

3. OS X (Apple)

Osx terminal

hi all, first off thesis my first post so if i am not in the right forum, i apologize. i'm an absolute newbie to unix. i've been reading my books and studying my crib sheets etc. but... :/ i want to accomplish two things. 1. search and remove duplicate files i.e.. audio, doc alias etc.... (1 Reply)
Discussion started by: monkeyhateclean
1 Replies

4. Red Hat

Read speed too bad on NAS share on VM

Hi, We have two servers in scenario (vmsoldot01 is Oracle VM with Linux and tldtppod15 is physical Linux server). One NAS share is mounted on both servers with similar permissions and access. But READ speed is too bad on virtual in comparison to physical server. While trying to diagnose this, I... (2 Replies)
Discussion started by: solaris_1977
2 Replies

5. UNIX for Dummies Questions & Answers

Terminal emulation OSX Vs. Solaris 11

I am using Terminal on an OSX system to access and edit crontab files on a 'headless' Solaris 11 server. Crontab -e on OSX invokes vi as the editor, which is fine, but I am getting unexpected characters on keystrokes and have to abort the edit. If this is an emulation issue, would someone please... (1 Reply)
Discussion started by: SmokeyJoe
1 Replies

6. Solaris

how to make nas share mounted in zones persistent across reboots?

there are few nas shares that would be mounted on the local zone. should i add an entry into the add an entry in zone.xml file so that it gets mounted automatically when the zone gets rebooted? or whats the correct way to get it mounted automatically when the zone reboots (2 Replies)
Discussion started by: chidori
2 Replies

7. OS X (Apple)

How to prompt for login on OSX when starting Terminal

I was wondering if anyone can tell me how to log back in to unix after logging out. I have a MBPro. If I don't have the window close after exiting, then there is the phrase 'process completed' in brackets with a blinking cursor, but I can't type anything in. Is it also possible to start the... (4 Replies)
Discussion started by: Straitsfan
4 Replies

8. OS X (Apple)

Help: Add email users in OSX terminal

Please forgive me if this is the wrong place to post. I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc. I tried logging in through a browser but get this error: ERROR: Connection... (1 Reply)
Discussion started by: dperro01
1 Replies

9. UNIX for Dummies Questions & Answers

Help: Add email users in OSX terminal

Please forgive me if this is the wrong place to post. I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc. I tried logging in through a browser but get this error: ERROR: Connection dropped... (1 Reply)
Discussion started by: dperro01
1 Replies

10. OS X (Apple)

[Solved] How to share the DVD-drive with Mac OSX NFS

:confused: Hi, im a newbie with a mac osx problem: i can't share the DVD-drive of my macbook pro with NFS: OSX 10.5.8: My /etc/exports: /Users/NFS -mapall=502 -ro -network 192.168.1.0 -mask 255.255.255.0 /Volumes/MIT_HERZ_UND_HAND/VIDEO_TS -maproot=502 -ro the /Users/NFS share... (1 Reply)
Discussion started by: joker45
1 Replies
Login or Register to Ask a Question
RADWHO(1)							 FreeRADIUS Daemon							 RADWHO(1)

NAME
radwho - show online users SYNOPSIS
radwho [-c] [-d raddb_directory] [-f] [-i] [-n] [-N nas_ip_address] [-p] [-P nas_port] [-r] [-R] [-s] [-S] [-u user] [-U user] [-Z] DESCRIPTION
The FreeRADIUS server can be configured to maintain an active session database in a file called radutmp. This utility shows the content of that session database. OPTIONS
-c Shows caller ID (if available) instead of the full name. -d raddb_directory The directory that contains the RADIUS configuration files. Defaults to /etc/raddb. -f Behave as the 'fingerd' daemon - waits for one line of input, then prints the output with lines terminated. -i Shows the session ID instead of the full name. -n Normally radwho looks up the username in the systems password file, and shows the full username as well. The -n flags prevents this. -N nas_ip_address Show only those entries which match the given NAS IP address. -p Adds an extra column for the port type - I for ISDN, A for Analog. -P nas_port Show only those entries which match the given NAS port. -r Outputs all data in raw format - no headers, no formatting, fields are comma-separated. -R Output all data in RADIUS attribute format. All fields are printed. -s Show full name. -S Hide shell users. Doesn't show the entries for users that do not have a SLIP or PPP session. -u user Show only those entries which match the given username (case insensitive). -U user Show only those entries which match the given username (case sensitive). -Z When combined with -R, prints out the contents of an Accounting-Request packet which can be passed to radclient, in order to "zap" that users session from radutmp. For example, $ radwho -ZRN 10.0.0.1 | radclient -f - radius.example.net acct testing123 will result in all an Accounting-Request packet being sent to the RADIUS server, which tells the server that the NAS rebooted. i.e. It "zaps" all of the users on that NAS. To "zap" one user, specifiy NAS, username, and NAS port: $ radwho -ZRN 10.0.0.1 -u user -P 10 | radclient -f - radius.example.net acct testing123 Other combinations are also possible. SEE ALSO
radiusd(8), radclient(1), radiusd.conf(5). AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl. 7 April 2005 RADWHO(1)