Ruby check permission

I

ingcarlos

I wanna know how to check for a permission in a file, 'cause I see
there is a method for changing the file permisison but there is no
method to get the current ls -l (-l string).

Any Ideas?.

Tnx for a soon reply.
 
H

Hassan Schroeder

I wanna know how to check for a permission in a file, 'cause I see
there is a method for changing the file permisison but there is no
method to get the current ls -l (-l string).

The API doc is your friend :) ( look for File::Stat )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top