"Permission Denied" while modifying mounted files on MAC

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) "Permission Denied" while modifying mounted files on MAC
# 1  
Old 01-07-2011
"Permission Denied" while modifying mounted files on MAC

Hi,

I have two machines 1. MacOSx (Users --> userMac , IP - a.b.c.d)
2. FreeBSD (Users --> userBSD, IP- p.q.r.s)
I want to modify some files of FreeBSD on my MacOS. So, I mounted the FreeBSD folder on my Mac as follows.

Code:
$ sudo mount -o -P p.q.r.s:/usr/home/user /mnt/map

It successfully mounted the "/usr/home/user" directory of FreeBSD on my MAC. But when I try to modify any mounted files, it says "Permission Denied".
Please guide me to modify mounted files and folders.


Regards,
Akash Mahakode
# 2  
Old 01-07-2011
Who are you trying to modify the files as ? root ? or another user?
What are the perm's on the files and directories on the remote machine ?
# 3  
Old 01-07-2011
Hi,

On FreeBSD- following is the permission
Code:
drwxr-xr-x  4 userBSD  wheel        512 Jan  4 03:08 hello2

On Mac-
I will mount the above directory as userMac


-akash
# 4  
Old 01-20-2011
I would guess that one or the other machine has to be aware of both user accounts.
While mounting the volume on the Mac is apparently an option the userMac account does not have write permissions for the files on that mounted volume.
Try mounting the volume on the mac as userBSD?
Try adding userMac (with the same userMac password) as an account on the freeBSD machine?
Try adding userBSD (with the same userBSD password) as an account on the Mac?
# 5  
Old 01-20-2011
Quote:
Originally Posted by akash.mahakode
Hi,

On FreeBSD- following is the permission
That's the permissions of the directory, which doesn't control whether you can modify the files inside, just create or mkdir or delete... And still doesn't tell me what permissions you have.

When you've mounted it, what do you see on that dir when you ls -ld? And the files inside?
# 6  
Old 01-24-2011
Are you running any sort of ACLs or anything that could overwrite access? Also, your user account you are using to map this share to the BSD box, what permissions does it have?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. OS X (Apple)

"Permission denied" when trying to SSH my iPhone though password is correct

Hi, I hope this is the correct section in the forum to post as I'm trying to SSH from my MacBook. I was looking to see whether ssh on my jailbroken iPhone 6s (10.3.1) still works fine and was following this old reddit guide. I installed OpenSSH&OpenSSL from Cydia and changed the password using... (7 Replies)
Discussion started by: hss1
7 Replies

2. Solaris

"Permission denied" when changing IP netmask

hello everyone, I am new on unix systems. I am working with a Solaris 10 OS. When i try to change netmask on certain interface: I get: How can i enable permission for changing that ? I have administrator privileges. Your help is much appreciated. thanks, (13 Replies)
Discussion started by: pablod76
13 Replies

3. UNIX for Advanced & Expert Users

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (7 Replies)
Discussion started by: sanoop
7 Replies

4. Linux

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (2 Replies)
Discussion started by: sanoop
2 Replies

5. Solaris

BSM auditing issues, need to audit "permission denied"

Let me preface with I am semi-new to Solaris. I work with it in the labs at work and that's about my extent (although I run Linux at home). Well, a week ago security comes around with updated requirements, some of which are the need to audit all failures. For the life of me I cannot get a... (0 Replies)
Discussion started by: mph275
0 Replies

6. UNIX for Advanced & Expert Users

EACCES "Permission denied" while open(2)

guest@ulidtko:~$ id uid=126(guest) gid=134(guest) groups=134(guest) guest@ulidtko:~$ ls -ld /home drwxr-xr-x 8 root root 4096 May 12 19:47 /home guest@ulidtko:~$ ls -l /home ls: cannot open directory /home: Permission denied guest@ulidtko:~$ cat /proc/mounts rootfs / rootfs rw 0 0... (4 Replies)
Discussion started by: ulidtko
4 Replies

7. UNIX for Dummies Questions & Answers

changing password with sudo user " permission denied"

HI All, I am using solaris i created a user adam and updated his permissions in vi sudoers file as follows adam ALL=(ALL) NOPASSWORD: ALL ........... when i create user by logging as sudo user . $ sudo useradd -d /home/kalyan -m -s /bin/sh kalyan sudo: not found ... (6 Replies)
Discussion started by: kalyankalyan
6 Replies

8. UNIX for Advanced & Expert Users

permission denied for ". " (dot space)

Hi, When I try to run a script with ". "(dot space) in my home, it gives me error ".: Permission denied". Any explanation for this behaviour? Thanks in advance, -Ashish (3 Replies)
Discussion started by: shriashishpatil
3 Replies
Login or Register to Ask a Question