| View previous topic :: View next topic |
| Author |
Message |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Thu May 01, 2008 10:03 pm Post subject: Get the user group other permission |
|
|
I've see the pspiofilemgr_stat.h and i've undertand the funct to check if is a file or a dir or a link;
but how to get the user permission?
I've writed this funct but is never true!
| Code: |
if(((a_dir.d_stat.st_mode)&FIO_S_IRWXU) == FIO_S_IRUSR){
...
}
else{
...
}
|
_________________ Get Xplora! |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Fri May 02, 2008 4:58 am Post subject: |
|
|
| The PSP isn't UNIX. It uses the FAT filesystem and doesn't follow the UNIX model of permissions. |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Sat May 03, 2008 12:48 am Post subject: |
|
|
???What about Filer? It show the permission!
And in the filemgr_stat.h library I've found the enumeration, but i'm not been
able to capture correctly the value! _________________ Get Xplora! |
|
| Back to top |
|
 |
|