Unable to create new folders on Ubuntu and Permissions tab is all greyed out
Solution 1
Where do you want to create a new folder?
By the way, always you can do as root by running a command in terminal by using Sudo:
sudo mkdir you_folder_name
Solution 2
If you want to change the ownership of the folder, use:
chown <new owner's user name>[:group] <folder>
.
To recursively assign new ownership on a folder and it's contents, Use chown -R <new owner's user name>:[group] <folder>
Solution 3
Facing same due to Windows as second OS
Check your partition number in which you face issue...and then use ntfsfix command (In my case you can see SecondHardDisk shows /dev/sda5 and mount button on the right. So, 5 is my partition number, find yours)
sudo fdisk -l
sudo ntfsfix /dev/sda5
Then simplily mount hardrive
Related videos on Youtube
Amrit
Updated on September 18, 2022Comments
-
Amrit over 1 year
The function
didSelectRowAtIndexPath
crashes with uncaught exception and leads toclass AppDelegate: UIResponder, UIApplicationDelegate{
with Thread1: signal SIGABRT errorThis is wrong issuance of delegates I suppose. Any ideas as to how this can be handled?
import UIKit class UnitTableViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, UIActionSheetDelegate { let cellID = "cellID" @IBOutlet var tableView: UITableView! override func viewDidLoad() { super.viewDidLoad() tableView.dataSource = self tableView.delegate = self } func numberOfSectionsInTableView(tableView: UITableView) -> Int { return 1 } func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return 2 } func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { var cell = tableView.dequeueReusableCellWithIdentifier(cellID) as UITableViewCell! if !(cell != nil){ cell = UITableViewCell(style:.Default, reuseIdentifier: cellID) } if indexPath.row == 0 { cell.textLabel?.text = "2016" } else { cell.textLabel?.text = "2017" } return cell; } func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? { return String (format: "Please select year of study", section + 1) } func tableView(tableView: UITableView, titleForFooterInSection section: Int) -> String? { return String (format: "Thankyou for your selection", section + 1) } func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { switch (indexPath.row) { case 0: [self.performSegueWithIdentifier("2015Segue'", sender: self)] case 1: [self.performSegueWithIdentifier("2016Segue'", sender: self)] default: break; } // NSLog("Row %ld selected on Section %ld", indexPath.row + 1, indexPath.section + 1) tableView.deselectRowAtIndexPath(indexPath, animated: true) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } }
-
David Foerster over 6 yearsHow did you conclude that OP's issue related to an NTFS instance or that Windows is installed on the same machine? -1
-
MdJahidHasan009 about 2 yearsIt works for me thanks.