Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448
Rep:
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
I tried unmounting it and mounting with "mount -o rw " but no better.
What's the right way to mount the volume for editing?
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.
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448
Original Poster
Rep:
Quote:
Originally Posted by zulfilee
See what permission the NFS partition has been given.
It may be a read-only partition .
$ showmount NFS_IP
See the permission here
I can't seem to get showmount to work:
Code:
# /usr/sbin/showmount -a
/usr/sbin/showmount: can't get address for [myhost].[mydomain]
# /usr/sbin/showmount -a [my_IP_address]
mount clntudp_create: RPC: Program not registered
# /usr/sbin/showmount -e [myhost]
mount clntudp_create: RPC: Program not registered
I must be doing something wrong.
jschiwal, thanks. I'm not trying to delete anything from the directory, just add a new file.
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.