NFS R/W mount and permission











up vote
0
down vote

favorite












sudo mount -t nfs 192.168.0.49:/mnt/HD_a2 /mnt/nas

sudo chmod -R 777 /mnt/nas/Family/Photos/iphone_08-2014

chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/._IMG_0602.JPG': Read-only file system
chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg': Read-only file system
chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/._IMG_0689.JPG': Read-only file system

➜ sudo ls -la /mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg
-rw-r--r-- 1 501 501 131933 Sep 2 2014 /mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg

➜ mount -v | grep nas
48:192.168.0.49:/mnt/HD_a2 on /mnt/nas type nfs (rw,relatime,vers=3,rsize=16384,wsize=16384,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.49,mountvers=3,mountport=32771,mountproto=udp,local_lock=none,addr=192.168.0.49)


as you can see, the mount has RW permission listed but I am unable to change permissions



Any ideas how to fix?










share|improve this question






















  • The ls command shows the owner and group being 501. Do you have a user account with that UID?
    – Haxiel
    yesterday










  • No, should I just create one?
    – DmitrySemenov
    yesterday










  • Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
    – Haxiel
    23 hours ago















up vote
0
down vote

favorite












sudo mount -t nfs 192.168.0.49:/mnt/HD_a2 /mnt/nas

sudo chmod -R 777 /mnt/nas/Family/Photos/iphone_08-2014

chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/._IMG_0602.JPG': Read-only file system
chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg': Read-only file system
chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/._IMG_0689.JPG': Read-only file system

➜ sudo ls -la /mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg
-rw-r--r-- 1 501 501 131933 Sep 2 2014 /mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg

➜ mount -v | grep nas
48:192.168.0.49:/mnt/HD_a2 on /mnt/nas type nfs (rw,relatime,vers=3,rsize=16384,wsize=16384,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.49,mountvers=3,mountport=32771,mountproto=udp,local_lock=none,addr=192.168.0.49)


as you can see, the mount has RW permission listed but I am unable to change permissions



Any ideas how to fix?










share|improve this question






















  • The ls command shows the owner and group being 501. Do you have a user account with that UID?
    – Haxiel
    yesterday










  • No, should I just create one?
    – DmitrySemenov
    yesterday










  • Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
    – Haxiel
    23 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











sudo mount -t nfs 192.168.0.49:/mnt/HD_a2 /mnt/nas

sudo chmod -R 777 /mnt/nas/Family/Photos/iphone_08-2014

chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/._IMG_0602.JPG': Read-only file system
chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg': Read-only file system
chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/._IMG_0689.JPG': Read-only file system

➜ sudo ls -la /mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg
-rw-r--r-- 1 501 501 131933 Sep 2 2014 /mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg

➜ mount -v | grep nas
48:192.168.0.49:/mnt/HD_a2 on /mnt/nas type nfs (rw,relatime,vers=3,rsize=16384,wsize=16384,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.49,mountvers=3,mountport=32771,mountproto=udp,local_lock=none,addr=192.168.0.49)


as you can see, the mount has RW permission listed but I am unable to change permissions



Any ideas how to fix?










share|improve this question













sudo mount -t nfs 192.168.0.49:/mnt/HD_a2 /mnt/nas

sudo chmod -R 777 /mnt/nas/Family/Photos/iphone_08-2014

chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/._IMG_0602.JPG': Read-only file system
chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg': Read-only file system
chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/._IMG_0689.JPG': Read-only file system

➜ sudo ls -la /mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg
-rw-r--r-- 1 501 501 131933 Sep 2 2014 /mnt/nas/Family/Photos/iphone_08-2014/IMG_0162.jpg

➜ mount -v | grep nas
48:192.168.0.49:/mnt/HD_a2 on /mnt/nas type nfs (rw,relatime,vers=3,rsize=16384,wsize=16384,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.49,mountvers=3,mountport=32771,mountproto=udp,local_lock=none,addr=192.168.0.49)


as you can see, the mount has RW permission listed but I am unable to change permissions



Any ideas how to fix?







fedora permissions nfs






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









DmitrySemenov

23419




23419












  • The ls command shows the owner and group being 501. Do you have a user account with that UID?
    – Haxiel
    yesterday










  • No, should I just create one?
    – DmitrySemenov
    yesterday










  • Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
    – Haxiel
    23 hours ago


















  • The ls command shows the owner and group being 501. Do you have a user account with that UID?
    – Haxiel
    yesterday










  • No, should I just create one?
    – DmitrySemenov
    yesterday










  • Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
    – Haxiel
    23 hours ago
















The ls command shows the owner and group being 501. Do you have a user account with that UID?
– Haxiel
yesterday




The ls command shows the owner and group being 501. Do you have a user account with that UID?
– Haxiel
yesterday












No, should I just create one?
– DmitrySemenov
yesterday




No, should I just create one?
– DmitrySemenov
yesterday












Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
– Haxiel
23 hours ago




Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
– Haxiel
23 hours ago















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489723%2fnfs-r-w-mount-and-permission%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489723%2fnfs-r-w-mount-and-permission%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

サソリ

広島県道265号伴広島線

Setup Asymptote in Texstudio