简体   繁体   中英

How I can grant write permission to the file Preferences.sublime-settings and locate this file of Sublime Text 3 using Elementary OS Luna?

I cannot grant write permission to the file Preferences.sublime-settings in Sublime Text on Elementary OS Luna 3. If someone went through it, can you help me? There is no way to go to the directory where it is because it simply is not in the way I get by clicking with the right button of mouse > Copy File Path .

I get this path:

/home/llarruda/.config/sublime-text-3/Packages/Default/Preferences.sublime-settings

In the directory Packages i just have the directories User and the link of current directory (.) and level return link (..).

I sailed across the directory tree for the Sublime Text 3, via bash, listing including hidden directories, nothing positive. I tried to grant permissions recursively to the for the whole Sublime Text 3 directory and even the innermost level that I can access and should contain the file Preferences.sublime-settings , I haven't success.

I did the install from the .deb package obtained on the official website.

PS: I want grant write permission, but I force give to the whole directory full permition - sudo chmod -R 777 sublime-text-3 , that inside on .config directory

In ST3, plugins/packages are run directly from the .sublime-package file. For most things, you don't actually need the contents of those files. For instance, you can create a Preferences.sublime-settings in the user folder, and it will be merged properly. That being said, ST3 does allow you to override files. To make things easier, you can use the plugin PackageResourceViewer . I wrote it to assist with viewing default files. Again, you don't need to do this for your particular case though. In the menu, go to Preferences -> Settings - User . This will create a preferences file in the user directory. When merged, the values in the User directory will be used rather than those in Default .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM