[pso] permission denied la "touch file"

Ghervase Gabriel ghervase_gabriel at yahoo.com
Sat May 12 16:10:02 EEST 2007


Stie cineva de ce ar putea sa apara mesajul permission denied cand incerc sa creez sau copiez un fisier?

Am citit un post cu privire la aceeasi problema si am implementat bine functia de lookup.
Adica apelez d_add(entry,null) si intorc null daca nu gaseste inode-ul.
intorc ERR(-Eaccess) doar daca esueaza apelul iget.
La mkdir nu am eroare.Imediat dupa lookup se apeleaza functia mkdir

In schimb, la fisiere, ultima functie apelata este lookup.Intoarce null, asa cum ar trebui iar apoi apare mesajul permission denied.
Cred ca ar fi trebuit sa se apeleze create.


Multumesc.



       
---------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070512/3da9b229/attachment-0001.html


More information about the pso mailing list