VirtualBox

Changes between Initial Version and Version 2 of Ticket #10572


Ignore:
Timestamp:
May 25, 2012 4:09:38 PM (12 years ago)
Author:
Frank Mehnert
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10572 – Description

    initial v2  
    66
    77The file permission is also strange, as I can't change them.
     8{{{
    89drwxrwxrwx 1 www-data www-data 8192 2012-05-16 22:55 Multimedia
     10}}}
    911is the result of a ls on the mount point.
    10 
     12{{{
    1113drwxr-xr-x 8 www-data www-data 4096 2012-05-16 22:55 .
    1214drwxrwxrwx 1 www-data www-data 8192 2012-05-16 22:55 Multimedia
     
    1416drwxr-xr-x 2 www-data www-data 4096 2012-03-21 18:17 Videos
    1517drwxrwx--- 4 www-data www-data 4096 2012-03-13 10:42 ..
    16 
     18}}}
    1719is the full ls -lta. And the result of the readdir loop following an opendir and closedir is reporting:
     20{{{
    1821.
    1922..
    2023Videos
     24}}}
    2125which are standard linux directories.
    2226
    2327The mount command is
    24 
     28{{{
    2529mount -t vboxsf -o uid=33,gid=33 $shared_folder /usr/share/wordpress/wp-content/uploads/host_$magic/$shared_folder
     30}}}
    2631
    2732from a standard bash script.
     
    2934When I am running the ls -lt command I got a green backlight into my shell like if bash was reporting the directory as a special one.
    3035
     36{{{
    3137root@webhost:/usr/share/wordpress/wp-content/uploads/host_540927936# uname -a
    3238Linux xxxxx.blog.quietty.com 3.0.0-19-generic #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012 i686 athlon i386 GNU/Linux
     
    4349/dev/loop0              954824     77908    828412   9% /media/Photos.img
    4450none                    954824     77908    828412   9% /usr/share/wordpress/wp-content/uploads/host_540927936/Photos
    45 
     51}}}
    4652From Mediatomb source code
    47 
     53{{{
    4854dir = opendir(path.c_str());
    4955    if (! dir)
     
    5763        char *name = dent->d_name;
    5864        log_debug("Looking for directory:%s\n",dent->d_name);
    59 
     65}}}
    6066The Looking for directory display call never display the Multimedia directory.

© 2023 Oracle
ContactPrivacy policyTerms of Use