Jump to content




[error] CC computer escapes its fs permissions?


  • You cannot reply to this topic
5 replies to this topic

#1 tesla1889

  • Members
  • 351 posts
  • LocationSt. Petersburg

Posted 10 August 2012 - 06:57 AM

my CC computer tried to edit the .DS_Store file in a folder. i thought this was impossible because the fs commands dont work on files starting with a "."

how is this possible and how can i fix it?

thanks

Posted Image

#2 Luanub

    Lua Nub

  • Members
  • 1,135 posts
  • LocationPortland OR

Posted 10 August 2012 - 07:09 AM

The . infront of a file only makes it hidded. fs can still work with the hidden files. It just makes it so other players can not see them when they do ls.

#3 BigSHinyToys

  • Members
  • 1,001 posts

Posted 10 August 2012 - 07:20 AM

ignore my ravel the above is a better answer.
That is quite odd are you on a server or single player. what is the CC ver and does that computer have a startup if so can you post it.
also that could just mean your CC computer has a dir folder. use Dir to check for all files and folders the n show them here.
or try the File manager from here
http://www.computerc...__fromsearch__1

#4 tesla1889

  • Members
  • 351 posts
  • LocationSt. Petersburg

Posted 10 August 2012 - 07:28 AM

@luanub
i thought so too at first, but this error started happening on the 3rd use of this program, so idk what changed.

@BigSHinyToys
i was playing tekkit 3.1.5 client. all variables declared were local, so default globals were not changed.

this may be related, or it may not, but the mod folder's (not the computer folder) last modified date changed to today.

thanks for the replies ;)/>

#5 Luanub

    Lua Nub

  • Members
  • 1,135 posts
  • LocationPortland OR

Posted 10 August 2012 - 07:35 AM

I don't think there is a way to make the files read only(other then doing it outside of CC/MC). If I find a way I will post it here.

EDIT: A side note, the files with a . have been able be modified by the fs/io for some time. I've been doing this since before 1.3 was released.

Edited by luanub, 10 August 2012 - 07:38 AM.


#6 tesla1889

  • Members
  • 351 posts
  • LocationSt. Petersburg

Posted 12 August 2012 - 05:25 PM

the weird thing is that all of the times i ran this script were in the most recent version of CC. honestly i have no clue.

i fixed the problem by specifying that the filename could not start with a period, but i am curious as to how it changed.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users