NFS R/W mount and permission
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
add a comment |
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
Thels
command shows the owner and group being 501. Do you have a user account with that UID?
– Haxiel
Dec 18 at 17:50
No, should I just create one?
– DmitrySemenov
Dec 18 at 21:42
Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
– Haxiel
Dec 19 at 4:32
add a comment |
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
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
fedora permissions nfs
asked Dec 18 at 16:38
DmitrySemenov
23419
23419
Thels
command shows the owner and group being 501. Do you have a user account with that UID?
– Haxiel
Dec 18 at 17:50
No, should I just create one?
– DmitrySemenov
Dec 18 at 21:42
Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
– Haxiel
Dec 19 at 4:32
add a comment |
Thels
command shows the owner and group being 501. Do you have a user account with that UID?
– Haxiel
Dec 18 at 17:50
No, should I just create one?
– DmitrySemenov
Dec 18 at 21:42
Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
– Haxiel
Dec 19 at 4:32
The
ls
command shows the owner and group being 501. Do you have a user account with that UID?– Haxiel
Dec 18 at 17:50
The
ls
command shows the owner and group being 501. Do you have a user account with that UID?– Haxiel
Dec 18 at 17:50
No, should I just create one?
– DmitrySemenov
Dec 18 at 21:42
No, should I just create one?
– DmitrySemenov
Dec 18 at 21:42
Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
– Haxiel
Dec 19 at 4:32
Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
– Haxiel
Dec 19 at 4:32
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
The
ls
command shows the owner and group being 501. Do you have a user account with that UID?– Haxiel
Dec 18 at 17:50
No, should I just create one?
– DmitrySemenov
Dec 18 at 21:42
Yes. A user account with that UID should be able to own those files and thereby have the rw permissions on those files.
– Haxiel
Dec 19 at 4:32