Linux: Changing Permissions – No space left on device The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsMoving stuff off of SSD to HDD after installation. Using mount --bind? LiveCD?Unable to change permissions of file system rootAutomated mounting for usb drives in linuxLoopback (bind) mount automatically mounting additional ext4 USB driveHow to finally mount FAT16 USB flash driveBest practice to mount directory in /home to directory in /media?How do I control what's mounted at Linux startup?What is overriding the fstab permissions mounting option?Mount permissions on LinuxWhy is /tmp mounted with permissions 0755 when fstab has 1777?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Wall plug outlet change

What is special about square numbers here?

Derivation tree not rendering

How to delete random line from file using Unix command?

Am I ethically obligated to go into work on an off day if the reason is sudden?

How many people can fit inside Mordenkainen's Magnificent Mansion?

"... to apply for a visa" or "... and applied for a visa"?

How does this infinite series simplify to an integral?

Why can't wing-mounted spoilers be used to steepen approaches?

How do you keep chess fun when your opponent constantly beats you?

Single author papers against my advisor's will?

When did F become S in typeography, and why?

Take groceries in checked luggage

Why can't devices on different VLANs, but on the same subnet, communicate?

system() function string length limit

What can I do if neighbor is blocking my solar panels intentionally?

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

Working through the single responsibility principle (SRP) in Python when calls are expensive

University's motivation for having tenure-track positions

How to split my screen on my Macbook Air?

How can I define good in a religion that claims no moral authority?

Can undead you have reanimated wait inside a portable hole?

Does Parliament need to approve the new Brexit delay to 31 October 2019?



Linux: Changing Permissions – No space left on device



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election ResultsMoving stuff off of SSD to HDD after installation. Using mount --bind? LiveCD?Unable to change permissions of file system rootAutomated mounting for usb drives in linuxLoopback (bind) mount automatically mounting additional ext4 USB driveHow to finally mount FAT16 USB flash driveBest practice to mount directory in /home to directory in /media?How do I control what's mounted at Linux startup?What is overriding the fstab permissions mounting option?Mount permissions on LinuxWhy is /tmp mounted with permissions 0755 when fstab has 1777?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















I have an external drive. When I just plug the drive into the PC, with a default /etc/fstab file, the OS just detects it and it's there in the Dolphin browser. I can select it, I can navigate to it on the command line, read/write/etc the files on it, etc.



I'm trying to mount the drive into my home directory
so that Plex Media Server can access it. I've done this a million times before with this same drive no problem, on Linux.



I recently re-installed the OS and went to set up the drive, same as always. Again, this exact same configuration has worked in the past, on the same version of Linux (OpenSUSE Leap 42.1), on the same machine, with the same hard drive. I've added this entry



UUID=F474B7AA74B76DCC /home/craig/MediaDrive ntfs-3g defaults,nofail,permissions,auto 0 1


to /etc/fstab to mount the drive in my home directory.
I get it mounted to /home/craig/MediaDrive.
The first weird thing is that ls -l shows



d--------- 1 root root 12288 May 16 18:33 MediaDrive


So then I go to set ownership and change permissions with



sudo chown -R 777 /home/craig/MediaDrive


and I get the error:



chmod: changing permissions of ‘MediaDrive’: No space left on device


The thing is, there's plenty of space left. There's over 300GB of space left. I'm pasting my df -h output below.



Filesystem Size Used Avail Use% Mounted on
/dev/sde1 1.9T 1.6T 316G 84% /home/craig/MediaDrive


It doesn't seem to be an inode issue; here is the output of df -i:



Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sde1 331060948 4846 331056102 1% /home/craig/MediaDrive


Again, this permissions issue only exists with the drive when I try to mount it in that location (in my home directory); otherwise when it's just at the default run/media/craig/My Passport location, it's fine. Reads, writes, etc.



How can I get my drive to mount successfully in my home directory?










share|improve this question
























  • It might help if you show the exact chmod command that you're using.  Also, you talk about two different ways of mounting your drive; please describe this.  Please do not respond in comments; edit your question to make it clearer and more complete.

    – G-Man
    May 17 '16 at 2:03











  • I added the information you asked for. Thanks.

    – user2223059
    May 17 '16 at 2:16






  • 1





    can you give full df -lh output including OS partitions not just your mounted disk? (yes, update your question)

    – cuongnv23
    May 17 '16 at 2:40












  • @user2223059: I put your question into a blender and put the pieces back together in what seems to me to be a more sequential narrative.  Please check it and fix any errors that I made.  And now, I’m afraid that I probably won’t be able to help you any further; I’m stumped.  Good luck.

    – G-Man
    May 17 '16 at 2:53











  • Thanks for the help. Honestly, I'm at the point where if no one comes up with anything, after work tomorrow I'm going to just wipe and reinstall from scratch. Maybe there's something weird and random that got screwed up at some point? who knows.

    – user2223059
    May 17 '16 at 3:17

















4















I have an external drive. When I just plug the drive into the PC, with a default /etc/fstab file, the OS just detects it and it's there in the Dolphin browser. I can select it, I can navigate to it on the command line, read/write/etc the files on it, etc.



I'm trying to mount the drive into my home directory
so that Plex Media Server can access it. I've done this a million times before with this same drive no problem, on Linux.



I recently re-installed the OS and went to set up the drive, same as always. Again, this exact same configuration has worked in the past, on the same version of Linux (OpenSUSE Leap 42.1), on the same machine, with the same hard drive. I've added this entry



UUID=F474B7AA74B76DCC /home/craig/MediaDrive ntfs-3g defaults,nofail,permissions,auto 0 1


to /etc/fstab to mount the drive in my home directory.
I get it mounted to /home/craig/MediaDrive.
The first weird thing is that ls -l shows



d--------- 1 root root 12288 May 16 18:33 MediaDrive


So then I go to set ownership and change permissions with



sudo chown -R 777 /home/craig/MediaDrive


and I get the error:



chmod: changing permissions of ‘MediaDrive’: No space left on device


The thing is, there's plenty of space left. There's over 300GB of space left. I'm pasting my df -h output below.



Filesystem Size Used Avail Use% Mounted on
/dev/sde1 1.9T 1.6T 316G 84% /home/craig/MediaDrive


It doesn't seem to be an inode issue; here is the output of df -i:



Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sde1 331060948 4846 331056102 1% /home/craig/MediaDrive


Again, this permissions issue only exists with the drive when I try to mount it in that location (in my home directory); otherwise when it's just at the default run/media/craig/My Passport location, it's fine. Reads, writes, etc.



How can I get my drive to mount successfully in my home directory?










share|improve this question
























  • It might help if you show the exact chmod command that you're using.  Also, you talk about two different ways of mounting your drive; please describe this.  Please do not respond in comments; edit your question to make it clearer and more complete.

    – G-Man
    May 17 '16 at 2:03











  • I added the information you asked for. Thanks.

    – user2223059
    May 17 '16 at 2:16






  • 1





    can you give full df -lh output including OS partitions not just your mounted disk? (yes, update your question)

    – cuongnv23
    May 17 '16 at 2:40












  • @user2223059: I put your question into a blender and put the pieces back together in what seems to me to be a more sequential narrative.  Please check it and fix any errors that I made.  And now, I’m afraid that I probably won’t be able to help you any further; I’m stumped.  Good luck.

    – G-Man
    May 17 '16 at 2:53











  • Thanks for the help. Honestly, I'm at the point where if no one comes up with anything, after work tomorrow I'm going to just wipe and reinstall from scratch. Maybe there's something weird and random that got screwed up at some point? who knows.

    – user2223059
    May 17 '16 at 3:17













4












4








4








I have an external drive. When I just plug the drive into the PC, with a default /etc/fstab file, the OS just detects it and it's there in the Dolphin browser. I can select it, I can navigate to it on the command line, read/write/etc the files on it, etc.



I'm trying to mount the drive into my home directory
so that Plex Media Server can access it. I've done this a million times before with this same drive no problem, on Linux.



I recently re-installed the OS and went to set up the drive, same as always. Again, this exact same configuration has worked in the past, on the same version of Linux (OpenSUSE Leap 42.1), on the same machine, with the same hard drive. I've added this entry



UUID=F474B7AA74B76DCC /home/craig/MediaDrive ntfs-3g defaults,nofail,permissions,auto 0 1


to /etc/fstab to mount the drive in my home directory.
I get it mounted to /home/craig/MediaDrive.
The first weird thing is that ls -l shows



d--------- 1 root root 12288 May 16 18:33 MediaDrive


So then I go to set ownership and change permissions with



sudo chown -R 777 /home/craig/MediaDrive


and I get the error:



chmod: changing permissions of ‘MediaDrive’: No space left on device


The thing is, there's plenty of space left. There's over 300GB of space left. I'm pasting my df -h output below.



Filesystem Size Used Avail Use% Mounted on
/dev/sde1 1.9T 1.6T 316G 84% /home/craig/MediaDrive


It doesn't seem to be an inode issue; here is the output of df -i:



Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sde1 331060948 4846 331056102 1% /home/craig/MediaDrive


Again, this permissions issue only exists with the drive when I try to mount it in that location (in my home directory); otherwise when it's just at the default run/media/craig/My Passport location, it's fine. Reads, writes, etc.



How can I get my drive to mount successfully in my home directory?










share|improve this question
















I have an external drive. When I just plug the drive into the PC, with a default /etc/fstab file, the OS just detects it and it's there in the Dolphin browser. I can select it, I can navigate to it on the command line, read/write/etc the files on it, etc.



I'm trying to mount the drive into my home directory
so that Plex Media Server can access it. I've done this a million times before with this same drive no problem, on Linux.



I recently re-installed the OS and went to set up the drive, same as always. Again, this exact same configuration has worked in the past, on the same version of Linux (OpenSUSE Leap 42.1), on the same machine, with the same hard drive. I've added this entry



UUID=F474B7AA74B76DCC /home/craig/MediaDrive ntfs-3g defaults,nofail,permissions,auto 0 1


to /etc/fstab to mount the drive in my home directory.
I get it mounted to /home/craig/MediaDrive.
The first weird thing is that ls -l shows



d--------- 1 root root 12288 May 16 18:33 MediaDrive


So then I go to set ownership and change permissions with



sudo chown -R 777 /home/craig/MediaDrive


and I get the error:



chmod: changing permissions of ‘MediaDrive’: No space left on device


The thing is, there's plenty of space left. There's over 300GB of space left. I'm pasting my df -h output below.



Filesystem Size Used Avail Use% Mounted on
/dev/sde1 1.9T 1.6T 316G 84% /home/craig/MediaDrive


It doesn't seem to be an inode issue; here is the output of df -i:



Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sde1 331060948 4846 331056102 1% /home/craig/MediaDrive


Again, this permissions issue only exists with the drive when I try to mount it in that location (in my home directory); otherwise when it's just at the default run/media/craig/My Passport location, it's fine. Reads, writes, etc.



How can I get my drive to mount successfully in my home directory?







permissions mount opensuse fstab chmod






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 17 '16 at 2:47









G-Man

13.7k93870




13.7k93870










asked May 17 '16 at 1:37









user2223059user2223059

1242




1242












  • It might help if you show the exact chmod command that you're using.  Also, you talk about two different ways of mounting your drive; please describe this.  Please do not respond in comments; edit your question to make it clearer and more complete.

    – G-Man
    May 17 '16 at 2:03











  • I added the information you asked for. Thanks.

    – user2223059
    May 17 '16 at 2:16






  • 1





    can you give full df -lh output including OS partitions not just your mounted disk? (yes, update your question)

    – cuongnv23
    May 17 '16 at 2:40












  • @user2223059: I put your question into a blender and put the pieces back together in what seems to me to be a more sequential narrative.  Please check it and fix any errors that I made.  And now, I’m afraid that I probably won’t be able to help you any further; I’m stumped.  Good luck.

    – G-Man
    May 17 '16 at 2:53











  • Thanks for the help. Honestly, I'm at the point where if no one comes up with anything, after work tomorrow I'm going to just wipe and reinstall from scratch. Maybe there's something weird and random that got screwed up at some point? who knows.

    – user2223059
    May 17 '16 at 3:17

















  • It might help if you show the exact chmod command that you're using.  Also, you talk about two different ways of mounting your drive; please describe this.  Please do not respond in comments; edit your question to make it clearer and more complete.

    – G-Man
    May 17 '16 at 2:03











  • I added the information you asked for. Thanks.

    – user2223059
    May 17 '16 at 2:16






  • 1





    can you give full df -lh output including OS partitions not just your mounted disk? (yes, update your question)

    – cuongnv23
    May 17 '16 at 2:40












  • @user2223059: I put your question into a blender and put the pieces back together in what seems to me to be a more sequential narrative.  Please check it and fix any errors that I made.  And now, I’m afraid that I probably won’t be able to help you any further; I’m stumped.  Good luck.

    – G-Man
    May 17 '16 at 2:53











  • Thanks for the help. Honestly, I'm at the point where if no one comes up with anything, after work tomorrow I'm going to just wipe and reinstall from scratch. Maybe there's something weird and random that got screwed up at some point? who knows.

    – user2223059
    May 17 '16 at 3:17
















It might help if you show the exact chmod command that you're using.  Also, you talk about two different ways of mounting your drive; please describe this.  Please do not respond in comments; edit your question to make it clearer and more complete.

– G-Man
May 17 '16 at 2:03





It might help if you show the exact chmod command that you're using.  Also, you talk about two different ways of mounting your drive; please describe this.  Please do not respond in comments; edit your question to make it clearer and more complete.

– G-Man
May 17 '16 at 2:03













I added the information you asked for. Thanks.

– user2223059
May 17 '16 at 2:16





I added the information you asked for. Thanks.

– user2223059
May 17 '16 at 2:16




1




1





can you give full df -lh output including OS partitions not just your mounted disk? (yes, update your question)

– cuongnv23
May 17 '16 at 2:40






can you give full df -lh output including OS partitions not just your mounted disk? (yes, update your question)

– cuongnv23
May 17 '16 at 2:40














@user2223059: I put your question into a blender and put the pieces back together in what seems to me to be a more sequential narrative.  Please check it and fix any errors that I made.  And now, I’m afraid that I probably won’t be able to help you any further; I’m stumped.  Good luck.

– G-Man
May 17 '16 at 2:53





@user2223059: I put your question into a blender and put the pieces back together in what seems to me to be a more sequential narrative.  Please check it and fix any errors that I made.  And now, I’m afraid that I probably won’t be able to help you any further; I’m stumped.  Good luck.

– G-Man
May 17 '16 at 2:53













Thanks for the help. Honestly, I'm at the point where if no one comes up with anything, after work tomorrow I'm going to just wipe and reinstall from scratch. Maybe there's something weird and random that got screwed up at some point? who knows.

– user2223059
May 17 '16 at 3:17





Thanks for the help. Honestly, I'm at the point where if no one comes up with anything, after work tomorrow I'm going to just wipe and reinstall from scratch. Maybe there's something weird and random that got screwed up at some point? who knows.

– user2223059
May 17 '16 at 3:17










1 Answer
1






active

oldest

votes


















0














Umount it, and make the mountpoint more permissive. Sometimes this is relevant... maybe it is in your case because using a different mountpoint has different results. Compare the permissions on those 2 directories for more info.



Check man ntfs-3g for options, and use them, for example:



mount -o fmask=664,dmask=775,uid=1000,gid=1000 /dev/sde1 /home/craig/MediaDrive





share|improve this answer























    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%2f283551%2flinux-changing-permissions-no-space-left-on-device%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Umount it, and make the mountpoint more permissive. Sometimes this is relevant... maybe it is in your case because using a different mountpoint has different results. Compare the permissions on those 2 directories for more info.



    Check man ntfs-3g for options, and use them, for example:



    mount -o fmask=664,dmask=775,uid=1000,gid=1000 /dev/sde1 /home/craig/MediaDrive





    share|improve this answer



























      0














      Umount it, and make the mountpoint more permissive. Sometimes this is relevant... maybe it is in your case because using a different mountpoint has different results. Compare the permissions on those 2 directories for more info.



      Check man ntfs-3g for options, and use them, for example:



      mount -o fmask=664,dmask=775,uid=1000,gid=1000 /dev/sde1 /home/craig/MediaDrive





      share|improve this answer

























        0












        0








        0







        Umount it, and make the mountpoint more permissive. Sometimes this is relevant... maybe it is in your case because using a different mountpoint has different results. Compare the permissions on those 2 directories for more info.



        Check man ntfs-3g for options, and use them, for example:



        mount -o fmask=664,dmask=775,uid=1000,gid=1000 /dev/sde1 /home/craig/MediaDrive





        share|improve this answer













        Umount it, and make the mountpoint more permissive. Sometimes this is relevant... maybe it is in your case because using a different mountpoint has different results. Compare the permissions on those 2 directories for more info.



        Check man ntfs-3g for options, and use them, for example:



        mount -o fmask=664,dmask=775,uid=1000,gid=1000 /dev/sde1 /home/craig/MediaDrive






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 12 '16 at 11:01









        PeterPeter

        90468




        90468



























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f283551%2flinux-changing-permissions-no-space-left-on-device%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

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            NetworkManager fails with “Could not find source connection”Trouble connecting to VPN using network-manager, while command line worksHow can I be notified about state changes to a VPN adapterBacktrack 5 R3 - Refuses to connect to VPNFeed all traffic through OpenVPN for a specific network namespace onlyRun daemon on startup in Debian once openvpn connection establishedpfsense tcp connection between openvpn and lan is brokenInternet connection problem with web browsers onlyWhy does NetworkManager explicitly support tun/tap devices?Browser issues with VPNTwo IP addresses assigned to the same network card - OpenVPN issues?Cannot connect to WiFi with nmcli, although secrets are provided