[Q] CIFS-Manager succesful mount but empty directory - General Questions and Answers

I've got one cifs mount that works and one that shows an empty folder.
both mounts are from (seperate) ubuntu servers with near identical smb.conf files. there are no sym links in the shares. does the file system on the mount point have any effect? one is ext3 and the other is ext4
the strange thing is that when in the android terminal I can see the contents of the 'empty' mount but in the file managers i've tried (astro, adoa, ES)I just get an empty directory and instead of seeing dr- for the permissions it just show d--.
this is on an asus transformer running optimus 1.5
any help would be greatly appreciated.

never mind, file manager HD does the job, doesn't bother mounting, just points directly to the smb share.
highly recomend using file manager HD if anyone else is having my problems, it's fantastic.
only annoying thing was that I couldn't add shortcuts to smb:// root addresses, so I created symlinks within the shares.

I know, you dont need a solution anymore, but someone else might need it. I had the same problem and it was a rights issue. I changed the owner:group to root:root and and changed access rights to 0555. I dont know it is now working, because no other clients need these changes.

searchforglory said:
I know, you dont need a solution anymore, but someone else might need it. I had the same problem and it was a rights issue. I changed the owner:group to root:root and and changed access rights to 0555. I dont know it is now working, because no other clients need these changes.
Click to expand...
Click to collapse
Can you elaborate on this? When you say you changed the owner:group to root:root, is that for the directory on the server that is being shared? What about files and child directories? Also, by 0555, do you mean r-xr-x-r-x permissions on the samba share folder on the server? Which samba user did you use to access the share?
I have multiple mounts, and while cifs manager says they all mount successfully, some of them show up as empty directories, and I can not figure out why as I have made sure that the permissions on the server are the same.

Related

[SOLVED] Ringtones in /system as HEX codes... can't use Ogg

Hi all, I am one of the people having the "random changed" ringtones and alerts.
So I converted them to ogg format and put them into /system/media/sounds ecc. ecc.
Now, when I browse for Ringtones, I do not see their real name (e.g. myRinger), I see something like: e32f45ab352d905 etc. etc.
Anybody with the same problem?
Ideas?
TIA
Can't say that i have seen that problem....
Perhaps it's the software conferteer. I used an online one. What did u use to convert from mp3 to ogg?
Using another software worked like a charm.
Sent from my Nexus S using Tapatalk
What did you use to move the file to the /system/media/audio/whatever directory? I've tried ghost commander and adb but can't figure either one of them out. Did manage to push it with adb to SD card but I need to mount it somehow I guess? And ghost commander isn't all that user friendly.
Maybe a term and mount the /system directory?
I used "super manager". Note that you must have root enabled.
Luca
It's a shame es file explorer doesn't do root. I know it does sort of but not on mine.
Atomic
Okay Super Manager worked great. One question though... When it mounts /system as rw does it mount it back to ro after a time or do you have to manually do that? The icons don't have names and it's a little confusing.
Also lol at me doing this the night before (maybe) the next release that's supposed to fix this issue comes out.
It mount it back to R/O as far as I know.
In fact the second time u access the folder you're asked again for mounting in R/W
Waiting for OTA with you

[Q] CIFS mounts randomly missing files?

Hi All,
I am currently using Leedroid 2.3d for the HTC Desire.
I started to use CIFS manager to mount my Windows 7 share folders on the phone, I noticed a bug when mounting shares using CIFS manager, if the share folder contains 200+ files, the mounted share will not display all the files in the share. This can be seen using any Android file manager and looking into the mounted folder on the phone e.g. ES File Explorer, Astro, etc...
I've noticed this for a while now, not sure if this is a Leedroid ROM issue or an issue with CIFS.
I'm just putting this out there to see if anybody else has noticed this with other roms using CIFS shares.
For testing purposes I wrote a little VB script that will generate 200 files in sequence into the folder the script is executed from, if anyone wants to see if they can reproduce this issue.
Script is attached.
Thanks.
*bump*
Anyone ?

[Q] Why can't I save in /sdcard/ but can save in /mnt/sdcard?

I am a new user, and just ROM'd my Motorola Milestone XT720 using the cinci Bell's 2.2 froyo update. The major problem that I am encountering is that market aps are not downloading files correctly. For example I try to add a podcast into my que using "google listen" and I get the following error:
"Error (/sdcard/com.google.andriod.apps.listen/downloads/f09cfbe (Permission Denied)"
Now I go into supermanger's filesystem, and I notice that /sdcard/ has no permissions at all. I try to add them, but nothing happens when I do. Itself, /sdcard/ is empty.
When I plug the phone into my PC, it can access the SDcard fine. In super manager however, it appears that the directory it is accessing is /mnt/sdcard.
It seems that programs assume that the SDcard is going to be located at /sdcard/ but it is really located at /mnt/sdcard. Is there any way to redirect them?
The normal mount location is /mnt/sdcard, /sdcard is just a symlink for convenience.
Apps should use the android api to determine the sdcard location
Environment.getExternalStorageDirectory();
See http://developer.android.com/reference/android/os/Environment.html
You could readding a symlink from /sdcard to /mnt/sdcard.
Regarding you changing the permissions, do you have root? If not you won't be able to change the permissions or create a symlink.
Do I have root?
Thanks for replying Dark3n.
I think I have root access, but in supermanager explorer, the root directory reads "/(r/o)" - does that "(r/o)" mean read only?
That would make sense of my problem - since I cannot delete, rename, or change the permissions on /sdcard/.
However, I'm pretty sure I have root access. I never rooted my phone after applying the ROM. I just ran superoneclick again, and it said the phone was rooted. Supermanager explorer has superuser permissions. Am I missing something?
I have root
I just installed Root Checker by Joeykrim - it verified root access and a busybox installation.
yes r/o means read only
So what do I do about it? Is this a limitation of the file explorer I'm using or my permissions? I'm not sure how to gain more permissions than superuser.
It would be a huge help if you let me know what steps I need to take. Sorry for being a noob!
ive the same problem but it's with gscript folder.
So I downloaded ES File Explorer, then went into the settings. I turned on the root function, and then used the option below it that said something like "mount root to enable write." I clicked that. ES File Explorer didn't have a change permission feature, so I held down the home button and switched over to supermanager explorer. Now the root directory read "/(r/w)." I was then able to change the permissions for /sdcard/.
The podcasts from google listen at the NPR app I was using were still not downloading properly. I rebooted the phone. Strangely, the permissions that I had just set in the root directory, and the test directory I created in root, were both gone. I don't know how that happens.
I tried using BeyondPod, which works for downloading to /mnt/sdcard/. I wonder if that means Google Listen and the NPR app (DroidShogun) were coded to save to /Sdcard/ rather than prompting the API for a path.

[Q] flashing files without system r/w access? adb? cwm?

hellos, in trying to get some ad block host files installed but there's no conventional way to write the files... can i use cwm or adb to push the host files?
i understand this isn't practical in terms of keeping the host files up to date but once the files are there 90-99% should be blocked for at least a few months which is good enough for me.
i had the same problem on my a510. after you mount it as rw, use chmod to give yourself write permissions the correct dir (/etc i think?), put the host file in place, then change the permissions back.
i did this with adb.
i cant remember what the permissions are suppose to be for /system and /etc after i messed with them, so i set them both to 755, and now AdFree works as advertised. where before i tinkered with permissions, it couldn't write the host file. i tired a couple adblock apps, and they all had the same write permission issue.
Rusty_Gunn said:
i had the same problem on my a510. after you mount it as rw, use chmod to give yourself write permissions the correct dir (/etc i think?), put the host file in place, then change the permissions back.
i did this with adb.
i cant remember what the permissions are suppose to be for /system and /etc after i messed with them, so i set them both to 755, and now AdFree works as advertised. where before i tinkered with permissions, it couldn't write the host file. i tired a couple adblock apps, and they all had the same write permission issue.
Click to expand...
Click to collapse
I'm using A700 and I've already tried editing permissions, didn't work.

Symlinked folder is treated as a file instead of a folder

Hello, using KatKiss 4.4.4 #35 i'm unable to get a symlink to work correctly from /storade/sdcard1/Android/data/<name of a package> (source) to /data/media/0/Android/data/<package name>.
The symlink do works from the path "/data/media/0/Android/data/<package name>" with a file explorer, but the reflected view on "/sdcard/Android/data/<package name>" is treated as a file by every applications, including the file manager that doesn't know what to do with that file (but correctly recognize this is a symlink and not a folder physically created here) and the software that require that folder (crash because it reconize it as a file and not a folder, as it use the "/sdcard" path and not the "/data/media/0/")
This is not a permission problem on the source folder side, changed to 777 it still doesn't work.
The problem is not specific to KatKiss, but i'm giving the information in case someone have a workaround that works only on a specific fork.
The only working workaround i found is using XPosed, redirecting the calls to the /storage/sdcard1 directly, but this solution is too aggressive, i'm unable to move only a subfolder of that package's folder, i'm forced to move everything.
The mountpoint workaround is dirty, i'd rather not use that if possible.
Regards, Magissia

Categories

Resources