forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get the user group other permission

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Thu May 01, 2008 10:03 pm    Post subject: Get the user group other permission Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri May 02, 2008 4:58 am    Post subject: Reply with quote

The PSP isn't UNIX. It uses the FAT filesystem and doesn't follow the UNIX model of permissions.
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Sat May 03, 2008 12:48 am    Post subject: Reply with quote

???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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group