Click to See Complete Forum and Search --> : File management


jaddy
06-25-2003, 03:21 AM
hi,

I couldn't find the relationship between the file permessions and the file operations. I know that by read access you can view the file, and by write access, you can edit the file.

But what about the other file operations:

Delete:
Copy:
Rename:
List (in directory):
Chmod:
Upload (in a directory):
View:
Edit:

I want to know for example what permession (in the forma rwx) I should have to delete a file.

thx

bad76
06-25-2003, 04:22 AM
I think this:

Delete: rw
Copy: rw (w is need only for target)
Rename: rw
List (in directory): r (also for directory)
Chmod: ??? (rw)
Upload (in a directory): w (also for directory)
View: r
Edit: rw


see you

RobbiK
06-27-2003, 07:22 AM
I think bad76 is right, althought I've never tought of this like that. You need write permission to delete,rename,edit a file.

For chmod you need to be owner or root. It has "nothing" to do with rwx. Althought you have rw access to a file, you cannot change its permission unless you are its owner (or root)!!