• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

how to chmod a drive or folder on a secondary internal drive

Scheduled Pinned Locked Moved Solved
Linux Problems
4
13
3.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Sebastian Roth Moderator
    last edited by May 24, 2016, 6:04 AM

    What do you see when running this command: ls -al /media/dureal99d/

    My guess: It’s not permissions but the honky spaces in the directory names! While most filesystems (especially ext4) can handle spaces there are a lot of potential pitfalls along the chain of tools and software you are using to try and access those with Plex…

    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

    S 1 Reply Last reply May 25, 2016, 5:17 AM Reply Quote 1
    • D
      dureal99d
      last edited by Wayne Workman May 24, 2016, 11:25 AM May 24, 2016, 6:32 AM

      total 16
      drwxr-x---+  4 root      root      4096 May 22 22:00 .
      drwxr-xr-x   3 root      root      4096 Nov 23 18:27 ..
      drwxrwxr-x  28 dureal99d dureal99d 4096 May 22 01:49 Mass Data 2
      drwx------  33 dureal99d dureal99d 4096 May 23 14:51 Mass data Volume
      

      this is what I see

      Mod edited to use code box.

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman @dureal99d
        last edited by May 24, 2016, 5:28 PM

        @dureal99d said in how to chmod a drive or folder on a secondary internal drive:

        /dev/sdb /media/dureal99d/Mass\040data\040Volume ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
        /dev/sdc1 /media/dureal99d/Mass\040Data\0402 ext4 rw,nosuid,nodev,relatime,data=ordered 0 0

        What’s up with the back slashes?
        /media/dureal99d/Mass\040Data\0402

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        D 1 Reply Last reply May 25, 2016, 1:27 AM Reply Quote 0
        • D
          dureal99d @Wayne Workman
          last edited by May 25, 2016, 1:27 AM

          @Wayne-Workman said in how to chmod a drive or folder on a secondary internal drive:

          @dureal99d said in how to chmod a drive or folder on a secondary internal drive:

          /dev/sdb /media/dureal99d/Mass\040data\040Volume ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
          /dev/sdc1 /media/dureal99d/Mass\040Data\0402 ext4 rw,nosuid,nodev,relatime,data=ordered 0 0

          What’s up with the back slashes?

          I noticed that as well and I have no clue as to what, how, why or where they came from. I too am perplexed by those

          /media/dureal99d/Mass\040Data\0402

          D T 2 Replies Last reply May 25, 2016, 1:30 AM Reply Quote 0
          • D
            dureal99d @dureal99d
            last edited by May 25, 2016, 1:30 AM

            @dureal99d said in how to chmod a drive or folder on a secondary internal drive:

            \040Data\0402

            I bet I know why , its because I have spaces in the drive names . I’m going to rename the drives and see if that solves that backslash issue.

            D 1 Reply Last reply May 25, 2016, 2:11 AM Reply Quote 0
            • T
              Tom Elliott @dureal99d
              last edited by Tom Elliott May 24, 2016, 7:32 PM May 25, 2016, 1:31 AM

              @dureal99d just guessing but I think it’s how fstab associates spaced names. In fstab terms,\040 translates to a space.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • W
                Wayne Workman
                last edited by Wayne Workman May 24, 2016, 7:43 PM May 25, 2016, 1:41 AM

                Why do you need Plex to view image files, what is the end goal? And is FOG working?

                There are far simpler ways to copy/share the images than Plex.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                D 1 Reply Last reply May 31, 2016, 6:04 AM Reply Quote 0
                • D
                  dureal99d @dureal99d
                  last edited by May 25, 2016, 2:11 AM

                  @dureal99d ok renaming the drives solved the back slash issue, also I got the permissions set on the drive but I have no clue as to how I did it. I going to retrace my steps and get back to how I did it here on this forum.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator @Sebastian Roth
                    last edited by May 25, 2016, 5:17 AM

                    @Sebastian-Roth said in how to chmod a drive or folder on a secondary internal drive:

                    My guess: It’s not permissions but the honky spaces in the directory names! While most filesystems (especially ext4) can handle spaces there are a lot of potential pitfalls along the chain of tools and software you are using to try and access those with Plex…

                    I told you…

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 1
                    • D
                      dureal99d @Wayne Workman
                      last edited by May 31, 2016, 6:04 AM

                      @Wayne-Workman Yes fog is working fine, I use plex as a media server on the same system. I use it so I can use the xbox in my room to view many media I have on my drives.

                      I simply used the gui to set the permissions on the drive.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        13/13
                        Last post

                      141

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project