removing sticky bit from mounted partition
I'd trying to add a file to an OS X partition (mounted as NFS) from within Linux (Fedora Core 6). I can mount the volume and see its contents, but I cant write to it. I've tried "chown" and "chmod -R 0777", and everything returns errors:
Code:
chmod: changing permissions of `/mnt/macosx/...': Read-only file system What's the right way to mount the volume for editing? |
See what permission the NFS partition has been given.
It may be a read-only partition . $ showmount NFS_IP See the permission here |
FYI, the sticky bit prevents one person from deleting another's file. This is needed because deleting a file edits the directory file (to the kernel, it's a normal file) which has write permissions. The file is otherwise protected by it's own permissions.
|
Quote:
Code:
# /usr/sbin/showmount -a jschiwal, thanks. I'm not trying to delete anything from the directory, just add a new file. |
The volume may be exported read-only. man exports
|
Sorry
showmount does not show the permissions.It shows the hosts allowed to mount a share from the nfs pc. And f.y.i the proper showmount command is $ showmount -e ip_of_nfspc [The ip must be the ip or hostname of the pc from which u are mounting the share]. Use exports and exportfs. Check the man page for exportfs too. |
Thanks, but I'm seeing a lot here about IPs and remote shares. Maybe that's why I'm getting confused: these are all partitions on the same computer. Fedora is mounting this partition automatically as "NFS", but I'm not sure why. I'm also not knowingly importing or exporting anything, and I read the exports man page but didn't get much from in in this regard.
|
Can you post the output of mount command.
Also check the /etc/auto* files to know what volumes are automounted from the same system. A look at /etc/fstab should also help. |
All times are GMT -5. The time now is 05:37 PM. |